Пример #1
0
 public function html()
 {
     if ($this->getOption('js', TRUE)) {
         jQuery::widget($this->html, 'accordion', $this->getAccordionOptions());
     }
     return $this->html;
 }
Пример #2
0
 public function widget($widgetName, array $options = array())
 {
     \Psc\UI\jQuery::widget($this, $widgetName, $options);
     return $this;
 }
Пример #3
0
 protected function doInit()
 {
     if ($this->autoLoad) {
         jQuery::widget($this->html, $this->widgetName, $this->getWidgetOptions());
     }
 }
Пример #4
0
 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');
 }