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