public static function dropdownToggleMenuLink($label, $url = '#', $htmlOptions = array(), $depth = 0)
    {
        self::addCssClass('dropdown-toggle', $htmlOptions);
        if ($depth === 0) {
            $label .= ' <b class="caret"></b>';
        }
        $htmlOptions['data-toggle'] = 'dropdown';
        return self::link($label, $url, $htmlOptions);
    }
public static function dropdownToggleMenuLink($label, $url = '#', $htmlOptions = array(), $depth = 0)
    {
        self::addCssClass('dropdown-toggle', $htmlOptions);
        if ($depth === 0) {
            $label .= ' <b class="caret"></b>';
        }
        $htmlOptions['data-toggle'] = 'dropdown';
        return self::link($label, $url, $htmlOptions);
    }
public static function dropdownToggleMenuLink ( $ label , $ url = '#' , $ htmlOptions = array ( ) , $ depth = 0 ) { self :: addCssClass ( 'dropdown-toggle' , $ htmlOptions ) ; if ( $ depth === 0 ) { $ label .= ' <b class="caret"></b>' ; } $ htmlOptions [ 'data-toggle' ] = 'dropdown' ; return self :: link ( $ label , $ url , $ htmlOptions ) ; }
Generates a dropdown toggle menu item.
@param string $label the menu item text.
@param string $url the menu item URL.
@param array $htmlOptions additional HTML attributes.
@param int $depth the menu depth at which this link is located
@return string the generated menu item.
Generates a dropdown toggle menu item .