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 navigation.
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 112
static
read(string $name, string $menu)
Read menu.
at line 174
static array
items(bool $fetchFromXML = FALSE)
This function defines information for various menu items.
at line 185
static bool
isArrayTrue(array $values)
Is array true (whatever that means!).
at line 202
static
fillMenuValues(array $menu, string $path)
Fill menu values.
at line 256
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 277
static
store(bool $truncate = TRUE)
This function recomputes menu from xml and populates civicrm_menu.
at line 318
static
buildAdminLinks(array $menu)
Build admin links.
at line 375
static mixed
getNavigation(bool $all = FALSE)
Get navigation.
at line 486
static null
getAdminLinks()
Get admin links.
at line 510
static array
buildBreadcrumb(array $menu, string $path)
Get the breadcrumb for a given path.