public function renderButton(fxFormButton &$e, fxForm &$f, $parent_id) { $attr = $this->renderAtts($e->_getInfoExcept('class,value,id')); $id = $this->makeId($e, $parent_id); $class = $this->getClasses($e); $label = htmlspecialchars($e->_label); $o = "<button {$id}{$attr}{$class}>{$label}</button>"; $this->checkExposure($e, $o); return $o; }
public function __construct($text) { parent::__construct($text); $this->type = 'reset'; }