/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// 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 'label' => 'Learning Zend Framework', 'controller' => 'index', 'label' => 'Home', 'controller' => 'index' ), 'label' => 'Blog', 'controller' => 'blog' ), ... // application.ini resources.view[] = // layout.phtml echo $this->navigation()->breadcrumbs();
Comments
