예제 #1
0
 public function html()
 {
     if ($this->getOption('js', TRUE)) {
         jQuery::widget($this->html, 'accordion', $this->getAccordionOptions());
     }
     return $this->html;
 }
예제 #2
0
파일: Tag.php 프로젝트: pscheit/psc-cms
 public function widget($widgetName, array $options = array())
 {
     \Psc\UI\jQuery::widget($this, $widgetName, $options);
     return $this;
 }
예제 #3
0
파일: Widget.php 프로젝트: pscheit/psc-cms
 protected function doInit()
 {
     if ($this->autoLoad) {
         jQuery::widget($this->html, $this->widgetName, $this->getWidgetOptions());
     }
 }
예제 #4
0
파일: Form.php 프로젝트: pscheit/psc-cms
 public static function radios($label, $name, array $values, $selected = NULL, $id = NULL)
 {
     list($label, $name, $null) = self::expand($label, $name, $id);
     $id = uniqid('radios');
     $radios = fHTML::radios($name, $values, $selected, array('id' => $id))->setAttribute('id', 'radios-wrapper-for-' . $id)->addClass('radios-wrapper');
     return jQuery::widget($radios, 'buttonset');
 }