protected static function dropdownToggle($type, $label, $htmlOptions)
    {
        self::addCssClass('dropdown-toggle', $htmlOptions);
        $label .= ' <b class="caret"></b>';
        $htmlOptions['data-toggle'] = 'dropdown';
        return self::btn($type, $label, $htmlOptions);
    }
protected static function dropdownToggle($type, $label, $htmlOptions)
    {
        self::addCssClass('dropdown-toggle', $htmlOptions);
        $label .= ' <b class="caret"></b>';
        $htmlOptions['data-toggle'] = 'dropdown';
        return self::btn($type, $label, $htmlOptions);
    }
protected static function dropdownToggle ( $ type , $ label , $ htmlOptions ) { self :: addCssClass ( 'dropdown-toggle' , $ htmlOptions ) ; $ label .= ' <b class="caret"></b>' ; $ htmlOptions [ 'data-toggle' ] = 'dropdown' ; return self :: btn ( $ type , $ label , $ htmlOptions ) ; }
Generates a dropdown toggle element.
@param string $label the element text.
@param array $htmlOptions additional HTML attributes.
@param string $type
@return string the generated element.
Generates a dropdown toggle element .