Documentation

civiimport.civix.php

Table of Contents

Classes

CRM_Civiimport_ExtensionUtil
The ExtensionUtil class provides small stubs for accessing resources of this extension.

Functions

_civiimport_civix_civicrm_config()  : mixed
(Delegated) Implements hook_civicrm_config().
_civiimport_civix_civicrm_install()  : mixed
Implements hook_civicrm_install().
_civiimport_civix_civicrm_enable()  : void
(Delegated) Implements hook_civicrm_enable().
_civiimport_civix_insert_navigation_menu()  : bool
Inserts a navigation menu item at a given place in the hierarchy.
_civiimport_civix_navigationMenu()  : mixed
(Delegated) Implements hook_civicrm_navigationMenu().
_civiimport_civix_fixNavigationMenu()  : mixed
Given a navigation menu, generate navIDs for any items which are missing them.
_civiimport_civix_fixNavigationMenuItems()  : mixed

Functions

_civiimport_civix_insert_navigation_menu()

Inserts a navigation menu item at a given place in the hierarchy.

_civiimport_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

_civiimport_civix_navigationMenu()

(Delegated) Implements hook_civicrm_navigationMenu().

_civiimport_civix_navigationMenu(mixed &$nodes) : mixed
Parameters
$nodes : mixed

_civiimport_civix_fixNavigationMenu()

Given a navigation menu, generate navIDs for any items which are missing them.

_civiimport_civix_fixNavigationMenu(mixed &$nodes) : mixed
Parameters
$nodes : mixed

_civiimport_civix_fixNavigationMenuItems()

_civiimport_civix_fixNavigationMenuItems(mixed &$nodes, mixed &$maxNavID, mixed $parentID) : mixed
Parameters
$nodes : mixed
$maxNavID : mixed
$parentID : mixed

        
On this page

Search results