public static function navList($items, $htmlOptions = array())
    {
        foreach ($items as $i => $itemOptions) {
            if (is_string($itemOptions)) {
                continue;
            }
            if (!isset($itemOptions['url']) && !isset($itemOptions['items'])) {
                $label = TbArray::popValue('label', $itemOptions, '');
                $items[$i] = self::menuHeader($label, $itemOptions);
            }
        }
        return self::nav(self::NAV_TYPE_LIST, $items, $htmlOptions);
    }
public static function navList($items, $htmlOptions = array())
    {
        foreach ($items as $i => $itemOptions) {
            if (is_string($itemOptions)) {
                continue;
            }
            if (!isset($itemOptions['url']) && !isset($itemOptions['items'])) {
                $label = TbArray::popValue('label', $itemOptions, '');
                $items[$i] = self::menuHeader($label, $itemOptions);
            }
        }
        return self::nav(self::NAV_TYPE_LIST, $items, $htmlOptions);
    }
public static function navList ( $ items , $ htmlOptions = array ( ) ) { foreach ( $ items as $ i => $ itemOptions ) { if ( is_string ( $ itemOptions ) ) { continue ; } if ( ! isset ( $ itemOptions [ 'url' ] ) && ! isset ( $ itemOptions [ 'items' ] ) ) { $ label = TbArray :: popValue ( 'label' , $ itemOptions , '' ) ; $ items [ $ i ] = self :: menuHeader ( $ label , $ itemOptions ) ; } } return self :: nav ( self :: NAV_TYPE_LIST , $ items , $ htmlOptions ) ; }
Generates a list navigation.
@param array $items the menu items.
@param array $htmlOptions additional HTML attributes.
@return string the generated menu.
Generates a list navigation .