protected function doInit() { list($buttons, $this->buttonSnippets) = $this->convertButtons(); $this->html = HTML::tag('div', $buttons, array('class' => '\\Psc\\drop-box')); if (isset($this->label)) { \Psc\UI\Form::attachLabel($this->html, $this->label); } $this->autoLoadJoose($this->getJooseSnippet()); }
/** * @return Psc\HTML\HTMLInterface */ public function getInnerHTML() { $input = $this->getComboBox()->html(); \Psc\UI\Form::attachLabel($input, $this->getFormLabel()); return $input; }
public function getInnerHTML() { $ta = fHTML::textarea($this->getFormName(), $this->getFormValue(), array('class' => array('textarea', 'ui-widget-content', 'ui-corner-all')))->setAttribute('cols', 102)->setAttribute('rows', 6)->setStyle('width', '90%'); f::attachLabel($ta, $this->getFormLabel()); return $ta; }
public function getInnerHTML() { $select = fHTML::select($this->getFormName(), $this->getValuesWithLabel(), $this->getFormValue(), array('class' => array('text', 'ui-widget-content', 'ui-corner-all'))); \Psc\UI\Form::attachLabel($select, $this->getFormLabel()); return $select; }