Example #1
0
 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());
 }
Example #2
0
 /**
  * @return Psc\HTML\HTMLInterface
  */
 public function getInnerHTML()
 {
     $input = $this->getComboBox()->html();
     \Psc\UI\Form::attachLabel($input, $this->getFormLabel());
     return $input;
 }
Example #3
0
 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;
 }
Example #4
0
 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;
 }