Back to Joomla project (class list)

Class CategoryInterface - list of methods

The category interface.
Package: Joomla\CMS\Categories
Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Categories/CategoryInterface.php
Project: Joomla

Method Summary

public \Joomla\CMS\Categories\CategoryNode|null
(mixed $id = 'root', mixed $forceload = false)

Loads a specific category and all its children in a CategoryNode object.
Parameters
  • mixed $id an optional id integer or equal to 'root'
  • bool $forceload True to force the _load method to execute
Returns
  • \Joomla\CMS\Categories\CategoryNode|null CategoryNode object or null if $id is not valid
Since
  • 3.10.0
Show source code of this method: get Source Code

Tags Summary

Since
3.10.0