/**
  * 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
  * @author Robert Lemke <*****@*****.**>
  * @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();
 }
Esempio n. 3
0
 /**
  * Initialize arguments.
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerUniversalTagAttributes();
     $this->registerTagAttribute('multiple', 'string', 'if set, multiple select field', FALSE, FALSE);
     $this->registerTagAttribute('size', 'string', 'Size of input field');
     $this->registerTagAttribute('disabled', 'string', 'Specifies that the input element should be disabled when the page loads');
     $this->registerArgument('options', 'array', 'Associative array with internal IDs as key, and the values are displayed in the select box');
     $this->registerArgument('optionValueField', 'string', 'If specified, will call the appropriate getter on each object to determine the value.');
     $this->registerArgument('optionLabelField', 'string', 'If specified, will call the appropriate getter on each object to determine the label.');
     $this->registerArgument('sortByOptionLabel', 'boolean', 'If true, List will be sorted by label.', FALSE, FALSE);
     $this->registerArgument('selectAllByDefault', 'boolean', 'If specified options are selected if none was set before.', FALSE, FALSE);
     $this->registerArgument('errorClass', 'string', 'CSS class to set if there are errors for this view helper', FALSE, 'f3-form-error');
 }
 /**
  * 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->registerUniversalTagAttributes();
 }
 /**
  * Initialize the arguments.
  *
  * @return void
  * @author Sebastian Kurfürst <*****@*****.**>
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerUniversalTagAttributes();
 }
Esempio n. 6
0
 /**
  * Initialize
  *
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerUniversalTagAttributes();
     $this->registerArgument('selected', 'boolean', 'Set to "selected" to mark field as selected. If not present, selected status will be determined by select value');
 }