ActionSecurityFactory Class Reference

Static Public Member Functions

static createActionSecurityFromActionType ($actionType, $model, $user)
static createRightsOnlyActionSecurityFromActionType ($actionType, $user)

Detailed Description

Factory for creating actionsecurity objects of the appropriate type for an element's action

Definition at line 41 of file ActionSecurityFactory.php.


Member Function Documentation

static createActionSecurityFromActionType ( actionType,
model,
user 
) [static]
Parameters:
string $actionType
RedBeanModel $model
Usert $user
Returns:
mixed

Definition at line 49 of file ActionSecurityFactory.php.

static createRightsOnlyActionSecurityFromActionType ( actionType,
user 
) [static]
Parameters:
string $actionType
User $user
Returns:
mixed

Definition at line 66 of file ActionSecurityFactory.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Oct 21 07:10:22 2017