Ejemplo n.º 1
0
 public static function radio($name = '', $value = null, $options = [], $extra = [])
 {
     foreach ($options as $key => $text) {
         self::start_inline_radio();
         o::radio($name, $key, $key == $value, $extra);
         echo ' ' . $text;
         self::end_inline_radio();
     }
 }