CRM_Report_Info
class CRM_Report_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 | Stores component information. | from CRM_Core_Component_Info |
protected | $keyword |
Methods
No description
EXPERIMENTAL: Get a list of AngularJS modules
No description
Provides permissions that are unwise for Anonymous Roles to have.
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.
No description
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 53
array
getInfo()
in CRM_Core_Component_Info at line 136
array
getManagedEntities()
Get a list of entities to register via API.
in CRM_Core_Component_Info at line 147
array
getAnonymousPermissionWarnings()
Provides permissions that are unwise for Anonymous Roles to have.
at line 80
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 127
array|null
getUserDashboardElement()
at line 158
array|null
registerTab()
at line 175
array|null
registerAdvancedSearchPane()
at line 193
array|null
getActivityTypes()
in CRM_Core_Component_Info at line 229
bool
isEnabled()
Provides information whether given component is currently marked as enabled in configuration.
in CRM_Core_Component_Info at line 243
mixed
getMenuObject()
Provides component's menu definition object.
in CRM_Core_Component_Info at line 253
mixed
getInvokeObject()
Provides component's invocation object.
in CRM_Core_Component_Info at line 263
mixed
getBAOQueryObject()
Provides component's BAO Query object.
in CRM_Core_Component_Info at line 272
buildAdvancedSearchPaneForm(CRM_Core_Form $form)
Builds advanced search form's component specific pane.
at line 141
mixed
getUserDashboardObject()
in CRM_Core_Component_Info at line 293
mixed
getTabObject()
Provides component's contact record tab object.
in CRM_Core_Component_Info at line 303
string
getAdvancedSearchPaneTemplatePath()
Provides component's advanced search pane's template path.
in CRM_Core_Component_Info at line 314
bool
usesSearch()
Provides information whether given component uses system wide search.
in CRM_Core_Component_Info at line 324
array
menuFiles()
Provides the xml menu files.
in CRM_Core_Component_Info at line 336
string
getKeyword()
Simple "keyword" getter.
FIXME: It should be protected so the keyword is not FIXME: accessed from beyond component infrastructure.
at line 201
creatNewShortcut($shortCuts)
add shortcut to Create New.