button_radio_box
Github

    public function button_radio_box()
    {
        return _class('html')->button_radio_box('input_name', ['k1' => 'key1', 'k2' => 'key2']);
    }
    public function button_radio_box($name, $values = [], $selected = null, $extra = [])
    {
        if (is_array($name)) {
            $extra = (array) $extra + $name;
            $name = $extra['name'];
        }
        ! is_array($extra) && $extra = [];
        $label_extra = $extra['label_extra'];
        $extra = [
            'name' => $name ?: $extra['name'],
            'values' => isset($values) ? $values : $extra['values'],
            'selected' => isset($selected) ? $selected : $extra['selected'],
            'use_stpl' => false,
            'label_extra' => [
                'class' => ($label_extra['class'] ?: $this->CLASS_LABEL_BTN_RADIO) . ($extra['horizontal'] ? ' ' . $this->CLASS_LABEL_RADIO_INLINE : ''),
            ],
        ] + $extra;
        $label_right = $extra['label_right'] ? '<label class="text"> <small>' . $extra['desc'] . '</small></label>' : '';
        return '<div class="btn-group" data-toggle="buttons">' . $this->radio_box($extra) . $label_right . '</div>';
    }