Neos\FluidAdaptor\ViewHelpers\Security\IfAccessViewHelper::initializeArguments PHP Метод

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

Initializes the "then" and "else" arguments
public initializeArguments ( )
    public function initializeArguments()
    {
        $this->registerArgument('then', 'mixed', 'Value to be returned if the condition if met.', false);
        $this->registerArgument('else', 'mixed', 'Value to be returned if the condition if not met.', false);
        $this->registerArgument('privilegeTarget', 'string', 'Condition expression conforming to Fluid boolean rules', true);
        $this->registerArgument('parameters', 'array', 'Condition expression conforming to Fluid boolean rules', false, []);
    }