CRM_Core_Menu
class CRM_Core_Menu
Class CRM_Core_Menu.
Constants
MENU_ITEM |
|
Properties
static array | $_items | The list of menu items. | |
static array | $_permissionedItems | The list of permissioned menu items. | |
static | $_serializedElements | ||
static | $_menuCache |
Methods
This function fetches the menu items from xml and xmlMenu hooks.
Read menu.
This function defines information for various menu items.
Is array true (whatever that means!).
Fill menu values.
We use this function to.
This function recomputes menu from xml and populates civicrm_menu.
Build admin links.
Get admin links.
Get the breadcrumb for a given path.
No description
No description
No description
No description
No description
Details
at line 75
static array
xmlItems(bool $fetchFromXML = FALSE)
This function fetches the menu items from xml and xmlMenu hooks.
at line 114
static
read(string $name, array $menu)
Read menu.
at line 125
static
readXML(SimpleXMLElement $xml, array $menu)
at line 197
static array
items(bool $fetchFromXML = FALSE)
This function defines information for various menu items.
at line 208
static bool
isArrayTrue(array $values)
Is array true (whatever that means!).
at line 225
static
fillMenuValues(array $menu, string $path)
Fill menu values.
at line 279
static
build(array $menu)
We use this function to.
- Compute the breadcrumb
- Compute local tasks value if any
- Propagate access argument, access callback, page callback to the menu item
- Build the global navigation block
at line 300
static
store(bool $truncate = TRUE)
This function recomputes menu from xml and populates civicrm_menu.
at line 356
static
buildAdminLinks(array $menu)
Build admin links.
at line 409
static null
getAdminLinks()
Get admin links.
at line 433
static array
buildBreadcrumb(array $menu, string $path)
Get the breadcrumb for a given path.