CRM_Event_Info
class CRM_Event_Info extends CRM_Core_Component_Info
This class introduces component to the system and provides all the information about it. It needs to extend CRM_Core_Component_Info abstract class.
Constants
COMPONENT_INVOKE_CLASS |
Name of the class (minus component namespace path) of the component invocation class'es name. |
COMPONENT_BAO_QUERY_CLASS |
Name of the class (minus component namespace path) of the component BAO Query class'es name. |
COMPONENT_USERDASHBOARD_CLASS |
Name of the class (minus component namespace path) of the component user dashboard plugin. |
COMPONENT_TAB_CLASS |
Name of the class (minus component namespace path) of the component tab offered to contact record view. |
COMPONENT_ADVSEARCHPANE_CLASS |
Name of the class (minus component namespace path) of the component tab offered to contact record view. |
COMPONENT_XML_RESOURCES |
Name of the directory (assumed in component directory) where xml resources used by this component live. |
COMPONENT_MENU_XML |
Name of the directory (assumed in xml resources path) containing component menu definition XML file names. |
Properties
array | $info | Component settings as key/value pairs. | from CRM_Core_Component_Info |
protected string | $keyword |
Methods
No description
EXPERIMENTAL: Get a list of AngularJS modules
No description
No description
No description
No description
No description
No description
No description
No description
Provides information whether given component is currently marked as enabled in configuration.
Builds advanced search form's component specific pane.
Provides component's user dashboard page object.
Provides component's advanced search pane's template path.
Provides information whether given component uses system wide search.
add shortcut to Create New.
Details
in CRM_Core_Component_Info at line 100
__construct(string $name, string $namespace, int $componentID)
in CRM_Core_Component_Info at line 115
array
getAngularModules()
EXPERIMENTAL: Get a list of AngularJS modules
at line 50
array
getInfo()
in CRM_Core_Component_Info at line 136
array
getManagedEntities()
Get a list of entities to register via API.
at line 115
array
getAnonymousPermissionWarnings()
at line 68
array|null
getPermissions(bool $getAllUnconditionally = FALSE, bool $descriptions = FALSE)
in CRM_Core_Component_Info at line 177
array
getReferenceCounts(CRM_Core_DAO $dao)
Determine how many other records refer to a given record.
at line 125
array|null
getUserDashboardElement()
at line 138
array|null
registerTab()
at line 151
string
getIcon()
at line 159
array|null
registerAdvancedSearchPane()
at line 170
array|null
getActivityTypes()
in CRM_Core_Component_Info at line 238
bool
isEnabled()
Provides information whether given component is currently marked as enabled in configuration.
in CRM_Core_Component_Info at line 252
mixed
getMenuObject()
Provides component's menu definition object.
in CRM_Core_Component_Info at line 262
mixed
getInvokeObject()
Provides component's invocation object.
in CRM_Core_Component_Info at line 272
mixed
getBAOQueryObject()
Provides component's BAO Query object.
in CRM_Core_Component_Info at line 281
buildAdvancedSearchPaneForm(CRM_Core_Form $form)
Builds advanced search form's component specific pane.
in CRM_Core_Component_Info at line 292
mixed
getUserDashboardObject()
Provides component's user dashboard page object.
in CRM_Core_Component_Info at line 302
mixed
getTabObject()
Provides component's contact record tab object.
in CRM_Core_Component_Info at line 312
string
getAdvancedSearchPaneTemplatePath()
Provides component's advanced search pane's template path.
in CRM_Core_Component_Info at line 323
bool
usesSearch()
Provides information whether given component uses system wide search.
in CRM_Core_Component_Info at line 333
array
menuFiles()
Provides the xml menu files.
in CRM_Core_Component_Info at line 345
string
getKeyword()
Simple "keyword" getter.
FIXME: It should be protected so the keyword is not FIXME: accessed from beyond component infrastructure.
at line 184
creatNewShortcut($shortCuts, $newCredit)
add shortcut to Create New.