CRM_Mailing_Info
class CRM_Mailing_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
Get AngularJS modules and their dependencies.
No description
Provides permissions that are unwise for Anonymous Roles to have.
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.
No description
Provides component's advanced search pane's template path.
Provides information whether given component uses system wide search.
No description
add shortcut to Create New.
Details
in CRM_Core_Component_Info at line 100
__construct(string $name, string $namespace, int $componentID)
at line 65
array
getAngularModules()
Get AngularJS modules and their dependencies.
at line 48
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 210
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 253
array|null
getUserDashboardElement()
at line 270
array|null
registerTab()
at line 283
string
getIcon()
at line 291
array|null
registerAdvancedSearchPane()
at line 302
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.
at line 261
mixed
getUserDashboardObject()
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 181
static bool
workflowEnabled()
at line 310
creatNewShortcut($shortCuts)
add shortcut to Create New.