Exemplo n.º 1
0
 /**
  * Initialize the arguments.
  *
  * @return void
  * @author Sebastian Kurfürst <*****@*****.**>
  * @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->registerUniversalTagAttributes();
 }
 /**
  * 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', 'string', 'Value of input tag. Required for radio buttons', true);
     $this->registerUniversalTagAttributes();
 }
Exemplo n.º 3
0
 /**
  * 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', 'array', 'Value of the checked input tag.', FALSE);
     $this->registerArgument('options', 'string', 'The options for the radio list.', TRUE);
     $this->registerArgument('inline', 'boolean', 'Adds a CSS class "inline" to the radio labels.', FALSE);
     $this->registerUniversalTagAttributes();
 }
Exemplo n.º 4
0
 /**
  * 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', 'string', 'Value of input tag. Required for checkboxes', true);
     $this->registerUniversalTagAttributes();
     $this->registerArgument('checked', 'bool', 'Specifies that the input element should be preselected');
     $this->registerArgument('multiple', 'bool', 'Specifies whether this checkbox belongs to a multivalue (is part of a checkbox group)', false, false);
 }
 /**
  * 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->registerTagAttribute('maxlength', 'int', 'The maxlength attribute of the input field (will not be validated)');
     $this->registerTagAttribute('readonly', 'string', 'The readonly attribute of the input field');
     $this->registerTagAttribute('size', 'int', 'The size of the input field');
     $this->registerArgument('errorClass', 'string', 'CSS class to set if there are errors for this view helper', FALSE, 'f3-form-error');
     $this->registerUniversalTagAttributes();
 }
Exemplo n.º 6
0
 /**
  * Initialize the arguments.
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerTagAttribute('rows', 'int', 'The number of rows of a text area');
     $this->registerTagAttribute('cols', 'int', 'The number of columns of a text area');
     $this->registerTagAttribute('disabled', 'string', 'Specifies that the input element should be disabled when the page loads');
     $this->registerTagAttribute('placeholder', 'string', 'The placeholder of the textarea');
     $this->registerArgument('errorClass', 'string', 'CSS class to set if there are errors for this view helper', FALSE, 'f3-form-error');
     $this->registerUniversalTagAttributes();
 }
 /**
  * Initialize the arguments.
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerTagAttribute('rows', 'int', 'The number of rows of a text area');
     $this->registerTagAttribute('cols', 'int', 'The number of columns of a text area');
     $this->registerTagAttribute('disabled', 'string', 'Specifies that the input element should be disabled when the page loads');
     $this->registerTagAttribute('placeholder', 'string', 'The placeholder of the textarea');
     $this->registerTagAttribute('autofocus', 'string', 'Specifies that a text area should automatically get focus 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->registerArgument('required', 'boolean', 'If the field should be marked as required or not', FALSE, FALSE);
     $this->registerUniversalTagAttributes();
 }
 /**
  * Initialize the arguments.
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerTagAttribute('autofocus', 'string', 'Specifies that a button should automatically get focus when the page loads');
     $this->registerTagAttribute('disabled', 'string', 'Specifies that the input element should be disabled when the page loads');
     $this->registerTagAttribute('form', 'string', 'Specifies one or more forms the button belongs to');
     $this->registerTagAttribute('formaction', 'string', 'Specifies where to send the form-data when a form is submitted. Only for type="submit"');
     $this->registerTagAttribute('formenctype', 'string', 'Specifies how form-data should be encoded before sending it to a server. Only for type="submit" (e.g. "application/x-www-form-urlencoded", "multipart/form-data" or "text/plain")');
     $this->registerTagAttribute('formmethod', 'string', 'Specifies how to send the form-data (which HTTP method to use). Only for type="submit" (e.g. "get" or "post")');
     $this->registerTagAttribute('formnovalidate', 'string', 'Specifies that the form-data should not be validated on submission. Only for type="submit"');
     $this->registerTagAttribute('formtarget', 'string', 'Specifies where to display the response after submitting the form. Only for type="submit" (e.g. "_blank", "_self", "_parent", "_top", "framename")');
     $this->registerUniversalTagAttributes();
 }
Exemplo n.º 9
0
 /**
  * Initialize the arguments.
  *
  * @return void
  * @throws \TYPO3Fluid\Fluid\Core\ViewHelper\Exception
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerTagAttribute('autofocus', 'string', 'Specifies that an input should automatically get focus when the page loads');
     $this->registerTagAttribute('disabled', 'string', 'Specifies that the input element should be disabled when the page loads');
     $this->registerTagAttribute('maxlength', 'int', 'The maxlength attribute of the input field (will not be validated)');
     $this->registerTagAttribute('readonly', 'string', 'The readonly attribute of the input field');
     $this->registerTagAttribute('size', 'int', 'The size of the input field');
     $this->registerTagAttribute('placeholder', 'string', 'The placeholder of the textfield');
     $this->registerTagAttribute('pattern', 'string', 'HTML5 validation pattern');
     $this->registerArgument('errorClass', 'string', 'CSS class to set if there are errors for this view helper', false, 'f3-form-error');
     $this->registerUniversalTagAttributes();
     $this->registerArgument('required', 'bool', 'If the field is required or not', false, false);
     $this->registerArgument('type', 'string', 'The field type, e.g. "text", "email", "url" etc.', false, 'text');
 }
 /**
  * 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->registerUniversalTagAttributes();
 }
 /**
  * Initialize the arguments.
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerUniversalTagAttributes();
 }