protected static function dropdown($items, $htmlOptions = array())
    {
        TbArray::defaultValue('role', 'menu', $htmlOptions);
        self::addCssClass('dropdown-menu', $htmlOptions);
        return self::menu($items, $htmlOptions);
    }
protected static function dropdown($items, $htmlOptions = array())
    {
        TbArray::defaultValue('role', 'menu', $htmlOptions);
        self::addCssClass('dropdown-menu', $htmlOptions);
        return self::menu($items, $htmlOptions);
    }
protected static function dropdown ( $ items , $ htmlOptions = array ( ) ) { TbArray :: defaultValue ( 'role' , 'menu' , $ htmlOptions ) ; self :: addCssClass ( 'dropdown-menu' , $ htmlOptions ) ; return self :: menu ( $ items , $ htmlOptions ) ; }
Generates a dropdown menu.
@param array $items the menu items.
@param array $htmlOptions additional HTML attributes.
@return string the generated menu.
Generates a dropdown menu .