Back to Joomla project (class list)

Class CategoryView - list of methods

Base HTML View class for the a Category list

Extends

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

Method Summary

public void
()

Method with common display elements used in category list displays
Returns
  • void
Since
  • 3.2
Show source code of this method: commonCategoryDisplay 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
Since
  • 3.2
-
  • \Exception
Show source code of this method: display Source Code

protected void
()

Method to prepares the document
Returns
  • void
Since
  • 3.2
Show source code of this method: prepareDocument Source Code

protected void
()

Method to add an alternative feed link to a category layout.
Returns
  • void
Since
  • 3.2
Show source code of this method: addFeed Source Code

Properties Summary

protected \Joomla\Registry\Registry
$state
State data
Since
  • 3.2
protected array
$items
Category items data
Since
  • 3.2
protected \Joomla\CMS\Categories\CategoryNode
$category
The category model object for this category
Since
  • 3.2
protected array
$categories
The list of other categories for this extension.
Since
  • 3.2
protected \Joomla\CMS\Pagination\Pagination
$pagination
Pagination object
Since
  • 3.2
protected array
$children
Child objects
Since
  • 3.2
protected string
$extension
The name of the extension for the category
Since
  • 3.2
protected string
$viewName
The name of the view to link individual items to
Since
  • 3.2
protected string
$defaultPageTitle
Default title to use for page title
Since
  • 3.2
protected bool
$runPlugins
Whether to run the standard Joomla plugin events.
Since
  • 3.5
protected bool
$menuItemMatchCategory
The flag to mark if the active menu item is linked to the category being displayed
Since
  • 4.0.0

Tags Summary

Since
3.2