| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 | 
							- <?php
 
- /**
 
-  * 
 
-  * Cube Framework $Id$ g+9aR/HEfb0V/s3OWo8wHeJZf6sGDt6ooiPHFmHzoYk= 
 
-  * 
 
-  * @link        http://codecu.be/framework
 
-  * @copyright   Copyright (c) 2014 CodeCube SRL
 
-  * @license     http://codecu.be/framework/license Commercial License
 
-  * 
 
-  * @version     1.0
 
-  */
 
- /**
 
-  * navigation menus generator class
 
-  */
 
- namespace Cube;
 
- class Navigation extends Navigation\AbstractContainer
 
- {
 
-     /**
 
-      *
 
-      * the path for the navigation view file(s)
 
-      * 
 
-      * @var string
 
-      */
 
-     protected $_path;
 
-     /**
 
-      * 
 
-      * class constructor
 
-      * 
 
-      * @param mixed $pages      the navigation data (array or object of type Cube\Config)
 
-      */
 
-     public function __construct($pages = null)
 
-     {
 
-         if ($pages !== null) {
 
-             $this->addPages($pages);
 
-         }
 
-     }
 
-     /**
 
-      * 
 
-      * get navigation partials path
 
-      * 
 
-      * @return string
 
-      */
 
-     public function getPath()
 
-     {
 
-         return $this->_path;
 
-     }
 
-     /**
 
-      * 
 
-      * set navigation partials path
 
-      * 
 
-      * @param string $path
 
-      * @return \Cube\Navigation
 
-      */
 
-     public function setPath($path)
 
-     {
 
-         $this->_path = $path;
 
-         return $this;
 
-     }
 
- }
 
 
  |