Пример #1
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');
 }