public function html() { if ($this->getOption('js', TRUE)) { jQuery::widget($this->html, 'accordion', $this->getAccordionOptions()); } return $this->html; }
public function widget($widgetName, array $options = array()) { \Psc\UI\jQuery::widget($this, $widgetName, $options); return $this; }
protected function doInit() { if ($this->autoLoad) { jQuery::widget($this->html, $this->widgetName, $this->getWidgetOptions()); } }
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'); }