BaseEventTypeController::getActionType PHP Метод

getActionType() публичный Метод

Return an ACTION_TYPE_ constant representing the type of an action for authorisation purposes.
public getActionType ( string $action ) : string
$action string
Результат string
    public function getActionType($action)
    {
        if (!isset($this->action_type_map[strtolower($action)])) {
            throw new Exception("Action '{$action}' has no type associated with it");
        }
        return $this->action_type_map[strtolower($action)];
    }
BaseEventTypeController