コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: fxFormElements.php プロジェクト: netcarver/fxForm
 public function __construct($text)
 {
     parent::__construct($text);
     $this->type = 'reset';
 }