CRM_Core_Permission_List
in package
Class CRM_Core_Permission_List
When presenting the administrator with a list of available permissions (Permission.get
),
the methods in provide the default implementations.
These methods are not intended for public consumption or frequent execution.
Tags
Table of Contents
Methods
- findCiviPermissions() : mixed
- Enumerate concrete permissions that originate in CiviCRM (core or extension).
- findCmsPermissions() : mixed
- Enumerate permissions that originate in the CMS (core or module/plugin), excluding any Civi permissions.
- findConstPermissions() : mixed
Methods
findCiviPermissions()
Enumerate concrete permissions that originate in CiviCRM (core or extension).
public
static findCiviPermissions(GenericHookEvent $e) : mixed
Parameters
- $e : GenericHookEvent
Tags
findCmsPermissions()
Enumerate permissions that originate in the CMS (core or module/plugin), excluding any Civi permissions.
public
static findCmsPermissions(GenericHookEvent $e) : mixed
Parameters
- $e : GenericHookEvent
Tags
findConstPermissions()
public
static findConstPermissions(GenericHookEvent $e) : mixed
Parameters
- $e : GenericHookEvent