[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/modules/mod_menu/src/Menu/ -> CssMenu.php (summary)

(no description)

Copyright: (C) 2006 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 526 lines (18 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CssMenu:: (7 methods):
  __construct()
  load()
  renderSubmenu()
  check()
  preprocess()
  getIconClass()
  getCounter()


Class: CssMenu  - X-Ref

Tree based class to render the admin menu

__construct(CMSApplication $application)   X-Ref
CssMenu constructor.

param: CMSApplication  $application  The application

load($params, $enabled)   X-Ref
Populate the menu items in the menu tree object

param: Registry  $params   Menu configuration parameters
param: bool      $enabled  Whether the menu should be enabled or disabled
return: AdministratorMenuItem  Root node of the menu tree

renderSubmenu($layoutFile, $node)   X-Ref
Method to render a given level of a menu using provided layout file

param: string                 $layoutFile  The layout file to be used to render
param: AdministratorMenuItem  $node        Node to render the children of
return: void

check($node, Registry $params)   X-Ref
Check the flat list of menu items for important links

param: AdministratorMenuItem  $node    The menu items array
param: Registry               $params  Module options
return: boolean  Whether to show recovery menu

preprocess($parent)   X-Ref
Filter and perform other preparatory tasks for loaded menu items based on access rights and module configurations for display

param: AdministratorMenuItem  $parent  A menu item to process
return: array

getIconClass($node)   X-Ref
Method to get the CSS class name for an icon identifier or create one if
a custom image path is passed as the identifier

param: AdministratorMenuItem  $node  Node to get icon data from
return: string  CSS class name

getCounter()   X-Ref
Create unique identifier

return: string



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer