Subversion-Projekte lars-tiefland.shop_ns

Revision

Zur aktuellen Revision | Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
2 lars 1
<?php
2
    /**
3
     * @package shop
4
     * @author Lars Tiefland <ltiefland@gmail.com>
5
     * @copyright 2012
6
     * @version $Id$
7
     */
8
 
9
    /**
10
     * @package shop
11
     * @author Lars Tiefland <ltiefland@gmail.com>
12
     * @copyright 2012
13
     * @version $Id$
14
     */
15
 
16
    namespace Weban;
17
    class Navigation
18
    {
19
        public static function nav()
20
        {
21
            $top = directory::Liste( -1 );
22
            foreach ( $top as $t )
23
            {
24
                $sub = directory::Liste( $t->getid() );
25
                $nav[] = array( "top" => $t, "sub" => $sub );
26
            }
27
            return $nav;
28
        }
29
    }
30
?>