Exemplo n.º 1
0
 /**
  * Create a list of radios.
  * 
  * This function is very similar to Form::select but it generates a
  * collection of radios instead of options.
  * 
  * i.e. Form::radios('status', ['a' => 'Active', 'i' => 'Inactive'])
  * 
  * You can pass 'inline' as a value of the attribute's array, to set the
  * radios as inline (they'll be rendered with the 'radios-inline' template).
  *
  * @param string $name
  * @param array $options
  * @param string $selected
  * @param array $attributes
  * @return string 
  * @static 
  */
 public static function radios($name, $options = array(), $selected = null, $attributes = array())
 {
     return \Styde\Html\FormBuilder::radios($name, $options, $selected, $attributes);
 }