ReportsModule Class Reference

Inheritance diagram for ReportsModule:
SecurableModule Module

Public Member Functions

 getDependencies ()
 getRootModelNames ()

Static Public Member Functions

static getTranslatedRightsLabels ()
static getDefaultMetadata ()
static getPrimaryModelName ()
static getAccessRight ()
static getCreateRight ()
static getDeleteRight ()
static getDemoDataMakerClassNames ()
static getGlobalSearchFormClassName ()
static modelsAreNeverGloballySearched ()
static hasPermissions ()

Data Fields

const RIGHT_CREATE_REPORTS = 'Create Reports'
const RIGHT_DELETE_REPORTS = 'Delete Reports'
const RIGHT_ACCESS_REPORTS = 'Access Reports Tab'

Static Protected Member Functions

static getSingularModuleLabel ($language)
static getPluralModuleLabel ($language)

Detailed Description

Module used to create and run reports

Definition at line 40 of file ReportsModule.php.


Member Function Documentation

getDependencies (  ) 
Returns:
array

Reimplemented from Module.

Definition at line 60 of file ReportsModule.php.

getRootModelNames (  ) 
Returns:
array

Reimplemented from Module.

Definition at line 71 of file ReportsModule.php.

static getDefaultMetadata (  )  [static]
Returns:
array

Reimplemented from Module.

Definition at line 79 of file ReportsModule.php.

static getPrimaryModelName (  )  [static]
Returns:
string

Reimplemented from Module.

Definition at line 109 of file ReportsModule.php.

static getAccessRight (  )  [static]
Returns:
string

Reimplemented from SecurableModule.

Definition at line 117 of file ReportsModule.php.

static getCreateRight (  )  [static]
Returns:
string

Reimplemented from SecurableModule.

Definition at line 125 of file ReportsModule.php.

static getDeleteRight (  )  [static]
Returns:
string

Reimplemented from SecurableModule.

Definition at line 133 of file ReportsModule.php.

static getDemoDataMakerClassNames (  )  [static]

Override in modules that create demo data during an installation.

Reimplemented from Module.

Definition at line 138 of file ReportsModule.php.

static getGlobalSearchFormClassName (  )  [static]

Even though reports are never globally searched, the search form can still be used by a specific search view for a module. Either this module or a related module. This is why a class is returned.

See also:
modelsAreNeverGloballySearched controls it not being searchable though in the global search.

Reimplemented from Module.

Definition at line 148 of file ReportsModule.php.

static modelsAreNeverGloballySearched (  )  [static]
Returns:
bool

Reimplemented from Module.

Definition at line 156 of file ReportsModule.php.

static hasPermissions (  )  [static]
Returns:
bool

Reimplemented from SecurableModule.

Definition at line 164 of file ReportsModule.php.

static getSingularModuleLabel ( language  )  [static, protected]

Override in all children modules to ensure proper availability of module labels in the translation system. If the override is not available, then it will generate a label as a last resort.

Parameters:
string $language
Returns:
string - singular module label.

Reimplemented from Module.

Definition at line 169 of file ReportsModule.php.

static getPluralModuleLabel ( language  )  [static, protected]

Override in all children modules to ensure proper availability of module labels in the translation system If the override is not available, then it will generate a label as a last resort.

Parameters:
string $language
Returns:
string - plural module label

Reimplemented from Module.

Definition at line 174 of file ReportsModule.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Apr 23 07:10:30 2017