Subversion-Projekte lars-tiefland.shop_ns

Revision

Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?php
    /**
     * @package shop
     * @author Lars Tiefland <ltiefland@gmail.com>
     * @copyright 2012
     * @version $Id$
     */

    /**
     * @package shop
     * @author Lars Tiefland <ltiefland@gmail.com>
     * @copyright 2012
     * @version $Id$
     */

    namespace Weban;
    class Navigation
    {
        public static function nav()
        {
            $top = directory::Liste( -1 );
            foreach ( $top as $t )
            {
                $sub = directory::Liste( $t->getid() );
                $nav[] = array( "top" => $t, "sub" => $sub );
            }
            return $nav;
        }
    }
?>