Public Member Functions | |
getDerivedAttributeTypesData (RedBeanModel $model) | |
getAvailableOperatorsTypes (RedBeanModel $model, $attribute) | |
Static Public Member Functions | |
static | getRulesName () |
static | makeByModuleClassName ($moduleClassName) |
static | getMetadata () |
static | setMetadata (array $metadata) |
static | getDefaultMetadata () |
static | getVariableStateModuleLabel (User $user) |
static | canUserAccessModuleInAVariableState (User $user) |
static | resolveStateAdapterUserHasAccessTo (User $user) |
static | getVariableStateValuesForUser ($modelClassName, User $user) |
Static Protected Member Functions | |
static | assertMetadataIsValid (array $metadata) |
Protected Attributes | |
$modelClassName | |
Base class of rules that assist with reporting and workflow modules. Consider extending this class when there is a module that does operations across all or most other modules. Both workflow and reporting share similarities that make it logical to have this base class
Definition at line 42 of file ModelToComponentRules.php.
|
static |
Implement in children classes
NotImplementedException |
Definition at line 53 of file ModelToComponentRules.php.
|
static |
$moduleClassName |
Definition at line 62 of file ModelToComponentRules.php.
|
static |
Definition at line 72 of file ModelToComponentRules.php.
|
static |
array | $metadata |
Definition at line 95 of file ModelToComponentRules.php.
|
static |
Returns default metadata for use in automatically generating the rules.
Definition at line 109 of file ModelToComponentRules.php.
getDerivedAttributeTypesData | ( | RedBeanModel | $model | ) |
RedBeanModel | $model |
Definition at line 118 of file ModelToComponentRules.php.
getAvailableOperatorsTypes | ( | RedBeanModel | $model, |
$attribute | |||
) |
RedBeanModel | $model | |
$attribute |
Definition at line 144 of file ModelToComponentRules.php.
|
static |
Override in children classes as necessary.
User | $user |
NotImplementedException |
Definition at line 162 of file ModelToComponentRules.php.
|
static |
Override in children classes as necessary.
User | $user |
NotImplementedException |
Definition at line 173 of file ModelToComponentRules.php.
|
static |
Override in children classes as necessary.
User | $user |
NotImplementedException |
Definition at line 184 of file ModelToComponentRules.php.
|
static |
Override in children classes as necessary.
$modelClassName | ||
User | $user |
Definition at line 195 of file ModelToComponentRules.php.
|
staticprotected |
Override in children classes as necessary.
array | $metadata |
Definition at line 205 of file ModelToComponentRules.php.