Neos\FluidAdaptor\ViewHelpers\Form\AbstractFormFieldViewHelper::initializeArguments PHP Метод

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

public initializeArguments ( ) : void
Результат void
    public function initializeArguments()
    {
        parent::initializeArguments();
        $this->registerArgument('name', 'string', 'Name of input tag');
        $this->registerArgument('value', 'mixed', 'Value of input tag');
        $this->registerArgument('property', 'string', 'Name of Object Property. If used in conjunction with <f:form object="...">, "name" and "value" properties will be ignored.');
    }

Usage Example

 /**
  * Initialize the arguments.
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerTagAttribute('disabled', 'string', 'Specifies that the input element should be disabled when the page loads');
     $this->registerArgument('errorClass', 'string', 'CSS class to set if there are errors for this view helper', false, 'f3-form-error');
     $this->overrideArgument('value', 'mixed', 'Value of input tag. Required for checkboxes', true);
     $this->registerUniversalTagAttributes();
 }
All Usage Examples Of Neos\FluidAdaptor\ViewHelpers\Form\AbstractFormFieldViewHelper::initializeArguments