public function refreshParent() { parent::refreshParent(); if ($this->form) { $this->form->setEnctype(Form::ENCTYPE_MULTIPART_FORMDATA); } }
public function __construct($name, $attributes = null, $validators = null, $filters = null) { parent::__construct("submit", $name, $attributes, $validators, $filters); }
public function __construct($name, $value = null, $attributes = null, $validators = null, $filters = null) { parent::__construct("checkbox", $name, $attributes, $validators, $filters); $this->value = $value; }
public function __construct($name) { parent::__construct('text', $name); $this->addSemanticType('input:textfield'); $this->addSemanticType('input:text'); }
public function __construct($name = null) { parent::__construct('submit', $name); $this->addSemanticType('input:submit'); }
public function __construct($name) { parent::__construct('hidden', $name); $this->addSemanticType('input:hidden'); }
public function __construct($name) { parent::__construct('checkbox', $name); $this->addSemanticType('input:checkbox'); }
public function __construct($name, $value) { parent::__construct('radio', $name); $this->addSemanticType('input:radio'); $this->value = $value; }