All Data Structures Functions Variables Pages
Static Public Member Functions | Static Protected Attributes
SecurableModule Class Reference
Inheritance diagram for SecurableModule:
Module AccountAccountAffiliationsModule AccountContactAffiliationsModule AccountsModule ApiModule CalendarsModule CampaignsModule ConfigurationModule ContactsModule ContactWebFormsModule ConversationsModule DesignerModule EmailMessagesModule EmailTemplatesModule ExportModule GameRewardsModule GroupsModule HomeModule ImportModule JobsManagerModule LeadsModule MapsModule MarketingListsModule MarketingModule MeetingsModule MissionsModule NotesModule OpportunitiesModule ProductsModule ProductTemplatesModule ProjectsModule ReportsModule ReportsTest2Module ReportsTestModule RolesModule SendGridModule SocialItemsModule TasksModule UsersModule WorkflowsModule WorkflowsTest2Module WorkflowsTestModule ZurmoModule

Static Public Member Functions

static getRightsNames ()
 
static getTranslatedRightsLabels ()
 
static getPolicyNames ()
 
static getTranslatedPolicyLabels ()
 
static getAuditEventNames ()
 
static stringifyAuditEvent (AuditEvent $auditEvent, $format= 'long')
 
static getPolicyRulesTypes ()
 
static getPolicyDefault ($policyName)
 
static isPolicyYesNo ($value)
 
static getAccessRight ()
 
static getCreateRight ()
 
static getDeleteRight ()
 
static getSecurableModuleDisplayName ()
 
static hasPermissions ()
 
- Static Public Member Functions inherited from Module
static getModuleObjects ()
 
static getDependenciesForModule (Module $module, $dependencies=array())
 
static getDirectoryName ()
 
static getSingularCamelCasedName ()
 
static getPluralCamelCasedName ()
 
static getModuleLabelByTypeAndLanguage ($type, $language=null)
 
static getStrongerPolicy ($policyName, array $values)
 
static getPolicyRulesTypes ()
 
static getTabMenuItems ($user=null)
 
static getAdminTabMenuItems ($user=null)
 
static getConfigureMenuItems ()
 
static getConfigureSubMenuItems ()
 
static getShortCutsCreateMenuItems ()
 
static getPrimaryModelName ()
 
static getGlobalSearchFormClassName ()
 
static modelsAreNeverGloballySearched ()
 
static hasAtLeastOneGlobalSearchAttributeName ()
 
static getStateMetadataAdapterClassName ()
 
static getMetadata (User $user=null)
 
static setMetadata (array $metadata, User $user=null)
 
static getDefaultMetadata ()
 
static getViewClassNames ()
 
static getModelClassNames ()
 
static getAllClassNamesByPathFolder ($folder)
 
static getDefaultDataMakerClassName ()
 
static getDemoDataMakerClassNames ()
 
static isReportable ()
 
static canHaveWorkflow ()
 
static canHaveContentTemplates ()
 
static canShowOnCalendar ()
 

Static Protected Attributes

static $policyDefaults = array()
 

Additional Inherited Members

- Public Member Functions inherited from Module
 getName ()
 
 isEnabled ()
 
 canDisable ()
 
 setIsEnabled ($isEnabled)
 
 getDependencies ()
 
 getEnabledDependencies ($temp=null)
 
 getRootModelNamesIncludingDependencies ()
 
 getRootModelNames ()
 
 getConfigurationView ()
 
 getDesignerMenuItems ()
 
- Static Protected Member Functions inherited from Module
static getSingularModuleLabel ($language)
 
static getPluralModuleLabel ($language)
 
static getCustomModuleLabelByTypeAndLanguage ($type, $language)
 

Detailed Description

Definition at line 37 of file SecurableModule.php.

Member Function Documentation

static getRightsNames ( )
static

Returns an array of names of rights applicable to the module.

Definition at line 44 of file SecurableModule.php.

static getPolicyNames ( )
static

Returns an array of names of policies applicable to the module.

Definition at line 66 of file SecurableModule.php.

static getPolicyRulesTypes ( )
static
Returns
array of Policy / PolicyRulesType pairings

Definition at line 123 of file SecurableModule.php.

static getAccessRight ( )
static

Override if the module has a right that determines if a user can access the module tab/subtabs in the user interface.

Returns
null or access right

Definition at line 151 of file SecurableModule.php.

static getCreateRight ( )
static

Override if the module has a right that determines if a user can create the models in this modules

Returns
null or access right

Definition at line 161 of file SecurableModule.php.

static getDeleteRight ( )
static

Override if the module has a right that determines if a user can delete the models in this modules

Returns
null or access right

Definition at line 171 of file SecurableModule.php.

static hasPermissions ( )
static

Override and set to true if the module has a model that utilizes permissions.

Definition at line 184 of file SecurableModule.php.


The documentation for this class was generated from the following file:
Generated on Mon Mar 30 2020 07:11:19