| Latest |Kites |Pictures |Programming |Life |
![]() [filed under Programming]Zend Framework actionStack ![]() Further notes on Zend Framework Menu Navigation This is how you pass variables to another action on the actionStack: $this->_helper->actionStack('application', 'menu', 'default', array('show_menu'=>$this->getRequest()->action)); Then in your menu controller, ApplicationController::menuAction you can: $show_menu = $this->_getParam( 'show_menu' ); Then you can use this variable to highlight the correct menu item, e.g: <ul>
Comments |
| Server Grind [0.0871 seconds] |