Back to Joomla project (class list)

Class ListView - list of methods

Base class for a Joomla List View
Class holding methods for displaying presentation data.

Extends

Package: Joomla\CMS\MVC\View
Copyright: (C) 2016 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/MVC/View/ListView.php
Project: Joomla

Method Summary

public
(array $config)

Constructor
Parameters
  • array $config An optional associative array of configuration settings.
Show source code of this method: __construct Source Code

public void
(mixed $tpl = null)

Execute and display a template script.
Parameters
  • string $tpl The name of the template file to parse; automatically searches through the template paths.
Returns
  • void
-
  • \Exception
Show source code of this method: display Source Code

protected void
()

Prepare view data
Returns
  • void
Show source code of this method: initializeView Source Code

protected void
()

Add the page title and toolbar.
Returns
  • void
Since
  • 1.6
Show source code of this method: addToolbar Source Code

Properties Summary

protected array
$items
An array of items
protected \Joomla\CMS\Pagination\Pagination
$pagination
The pagination object
protected \Joomla\CMS\Object\CMSObject
$state
The model state
protected \Joomla\CMS\Object\CMSObject
$canDo
The actions the user is authorised to perform
public \Joomla\CMS\Form\Form
$filterForm
Form object for search filters
public array
$activeFilters
The active search filters
protected string
$sidebar
The sidebar markup
protected string
$toolbarTitle
The toolbar title
protected string
$toolbarIcon
The toolbar icon
protected bool
$supportsBatch
The flag which determine whether we want to show batch button
protected string
$helpLink
The help link for the view

Tags Summary

Since
2.5.5