FluidTYPO3\Vhs\ViewHelpers\Security\AbstractSecurityViewHelper::initializeArguments PHP Метод

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

public initializeArguments ( ) : void
Результат void
    public function initializeArguments()
    {
        $this->registerArgument('anyFrontendUser', 'boolean', 'If TRUE, allows any FrontendUser unless other arguments disallows each specific FrontendUser', false, false);
        $this->registerArgument('anyFrontendUserGroup', 'boolean', 'If TRUE, allows any FrontendUserGroup unless other arguments disallows each specific FrontendUser', false, false);
        $this->registerArgument('frontendUser', 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FrontendUser', 'The FrontendUser to allow/deny');
        $this->registerArgument('frontendUsers', '<TYPO3\\CMS\\Extbase\\Persistence\\ObjectStorage>\\TYPO3\\CMS\\Extbase\\Domain\\Model\\FrontendUser', 'The FrontendUsers ObjectStorage to allow/deny');
        $this->registerArgument('frontendUserGroup', 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FrontendUserGroup', 'The FrontendUserGroup to allow/deny');
        $this->registerArgument('frontendUserGroups', '<TYPO3\\CMS\\Extbase\\Persistence\\ObjectStorage>\\TYPO3\\CMS\\Extbase\\Domain\\Model\\FrontendUserGroup', 'The FrontendUserGroups ObjectStorage to allow/deny');
        $this->registerArgument('anyBackendUser', 'boolean', 'If TRUE, allows any backend user unless other arguments disallows each specific backend user', false, false);
        $this->registerArgument('backendUser', 'integer', 'The uid of a backend user to allow/deny');
        $this->registerArgument('backendUsers', 'mixed', 'The backend users list to allow/deny. If string, CSV of uids assumed, if array, array of uids assumed');
        $this->registerArgument('backendUserGroup', 'integer', 'The uid of the backend user group to allow/deny');
        $this->registerArgument('backendUserGroups', 'mixed', 'The backend user groups list to allow/deny. If string, CSV of uids is assumed, if array, ' . 'array of uids is assumed');
        $this->registerArgument('admin', 'boolean', 'If TRUE, a backend user which is also an admin is required');
        $this->registerArgument('evaluationType', 'string', 'Specify AND or OR (case sensitive) to determine how arguments must be processed. Default is AND, ' . 'requiring all arguments to be satisfied if used', false, 'AND');
    }