afform_admin.civix.php
Table of Contents
Classes
- CRM_AfformAdmin_ExtensionUtil
- The ExtensionUtil class provides small stubs for accessing resources of this extension.
Functions
- _afform_admin_civix_civicrm_config() : mixed
- (Delegated) Implements hook_civicrm_config().
- _afform_admin_civix_civicrm_install() : mixed
- Implements hook_civicrm_install().
- _afform_admin_civix_civicrm_enable() : void
- (Delegated) Implements hook_civicrm_enable().
- _afform_admin_civix_insert_navigation_menu() : bool
- Inserts a navigation menu item at a given place in the hierarchy.
- _afform_admin_civix_navigationMenu() : mixed
- (Delegated) Implements hook_civicrm_navigationMenu().
- _afform_admin_civix_fixNavigationMenu() : mixed
- Given a navigation menu, generate navIDs for any items which are missing them.
- _afform_admin_civix_fixNavigationMenuItems() : mixed
Functions
_afform_admin_civix_civicrm_config()
(Delegated) Implements hook_civicrm_config().
_afform_admin_civix_civicrm_config([mixed $config = NULL ]) : mixed
Parameters
- $config : mixed = NULL
Tags
_afform_admin_civix_civicrm_install()
Implements hook_civicrm_install().
_afform_admin_civix_civicrm_install() : mixed
Tags
_afform_admin_civix_civicrm_enable()
(Delegated) Implements hook_civicrm_enable().
_afform_admin_civix_civicrm_enable() : void
Tags
_afform_admin_civix_insert_navigation_menu()
Inserts a navigation menu item at a given place in the hierarchy.
_afform_admin_civix_insert_navigation_menu(array<string|int, mixed> &$menu, string $path, array<string|int, mixed> $item) : bool
Parameters
- $menu : array<string|int, mixed>
-
- menu hierarchy
- $path : string
-
- path to parent of this item, e.g. 'my_extension/submenu' 'Mailing', or 'Administer/System Settings'
- $item : array<string|int, mixed>
-
- the item to insert (parent/child attributes will be filled for you)
Return values
bool_afform_admin_civix_navigationMenu()
(Delegated) Implements hook_civicrm_navigationMenu().
_afform_admin_civix_navigationMenu(mixed &$nodes) : mixed
Parameters
- $nodes : mixed
_afform_admin_civix_fixNavigationMenu()
Given a navigation menu, generate navIDs for any items which are missing them.
_afform_admin_civix_fixNavigationMenu(mixed &$nodes) : mixed
Parameters
- $nodes : mixed
_afform_admin_civix_fixNavigationMenuItems()
_afform_admin_civix_fixNavigationMenuItems(mixed &$nodes, mixed &$maxNavID, mixed $parentID) : mixed
Parameters
- $nodes : mixed
- $maxNavID : mixed
- $parentID : mixed