All Data Structures Functions Variables Pages
Static Public Member Functions
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:
Generated on Tue Jan 28 2020 07:10:23