Class lispa\amos\core\helpers\PermissionHelper
Inheritance | lispa\amos\core\helpers\PermissionHelper |
---|
Class PermissionHelper Generic functionality of use for permission management
Public Methods
Method | Description | Defined By |
---|---|---|
findPermissionModelAction() | lispa\amos\core\helpers\PermissionHelper |
Method Details
public static null|string findPermissionModelAction ( $modelName, $action ) | ||
$modelName | ||
$action | Depending on the model name and the action passed it will check that it exists between system permits. if this permission exists is returned the string rappresent the permission, else, that the action is an "exception action". if so string represents the permission is returned if no permission match return null |
|
return | null|string |
|
---|