Revision: 29206
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 23, 2010 20:11 by jiewmeng
Initial Code
// bootstrap.php function _initNavigation() { require_once 'configs/navigation.php'; $container = new Zend_Navigation($pages); $this->bootstrap('view'); $view = $this->getResource('view'); $view->navigation($container); return $container; } // navigation.php $pages = array( array( 'label' => 'Learning Zend Framework', 'controller' => 'index', 'pages' => array( array( 'label' => 'Home', 'controller' => 'index' ), array( 'label' => 'Blog', 'controller' => 'blog' ), ... // application.ini resources.view[] = // layout.phtml echo $this->navigation()->breadcrumbs();
Initial URL
Initial Description
Initial Title
Zend Framework: Setup Zend Navigation
Initial Tags
Initial Language
PHP