Documentation

shimmy.civix.php

Table of Contents

Classes

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

Functions

_shimmy_civix_mixin_polyfill()  : mixed
_shimmy_civix_civicrm_config()  : mixed
(Delegated) Implements hook_civicrm_config().
_shimmy_civix_civicrm_install()  : mixed
Implements hook_civicrm_install().
_shimmy_civix_civicrm_postInstall()  : mixed
Implements hook_civicrm_postInstall().
_shimmy_civix_civicrm_uninstall()  : mixed
Implements hook_civicrm_uninstall().
_shimmy_civix_civicrm_enable()  : mixed
(Delegated) Implements hook_civicrm_enable().
_shimmy_civix_civicrm_disable()  : mixed
(Delegated) Implements hook_civicrm_disable().
_shimmy_civix_civicrm_upgrade()  : mixed
(Delegated) Implements hook_civicrm_upgrade().
_shimmy_civix_upgrader()  : CRM_Shimmy_Upgrader
_shimmy_civix_insert_navigation_menu()  : bool
Inserts a navigation menu item at a given place in the hierarchy.
_shimmy_civix_navigationMenu()  : mixed
(Delegated) Implements hook_civicrm_navigationMenu().
_shimmy_civix_fixNavigationMenu()  : mixed
Given a navigation menu, generate navIDs for any items which are missing them.
_shimmy_civix_fixNavigationMenuItems()  : mixed
_shimmy_civix_civicrm_entityTypes()  : mixed
(Delegated) Implements hook_civicrm_entityTypes().

Functions

_shimmy_civix_mixin_polyfill()

_shimmy_civix_mixin_polyfill() : mixed

_shimmy_civix_civicrm_upgrade()

(Delegated) Implements hook_civicrm_upgrade().

_shimmy_civix_civicrm_upgrade(mixed $op[, mixed $queue = NULL ]) : mixed
Parameters
$op : mixed

string, the type of operation being performed; 'check' or 'enqueue'

$queue : mixed = NULL

CRM_Queue_Queue, (for 'enqueue') the modifiable list of pending up upgrade tasks

Tags
link
https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade
Return values
mixed

based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending) for 'enqueue', returns void

_shimmy_civix_upgrader()

_shimmy_civix_upgrader() : CRM_Shimmy_Upgrader
Return values
CRM_Shimmy_Upgrader

_shimmy_civix_insert_navigation_menu()

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

_shimmy_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

_shimmy_civix_navigationMenu()

(Delegated) Implements hook_civicrm_navigationMenu().

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

_shimmy_civix_fixNavigationMenu()

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

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

_shimmy_civix_fixNavigationMenuItems()

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

        
On this page

Search results