FluidTYPO3\Vhs\ViewHelpers\Resource\Record\AbstractRecordResourceViewHelper::initializeArguments PHP Метод

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

Initialize arguments.
public initializeArguments ( ) : void
Результат void
    public function initializeArguments()
    {
        $this->registerArgument('table', 'string', 'The table to lookup records.', true);
        $this->registerArgument('field', 'string', 'The field of the table associated to resources.', true);
        $this->registerArgument('record', 'array', 'The actual record. Alternatively you can use the "uid" argument.', false, null);
        $this->registerArgument('uid', 'integer', 'The uid of the record. Alternatively you can use the "record" argument.', false, null);
        $this->registerArgument('as', 'string', 'If specified, a template variable with this name containing the requested data will be inserted ' . 'instead of returning it.', false, null);
    }