How to swap Login for Logout after a user logs in using Zend_Navigation?
- by jwhat
I'm using an XML config file to populate my navigation using Zend_Navigation.
I have Login and Logout in the navigation, but obviously I should only display the 1 action that makes sense.
I believe I can do something like $navigation-removePage() but... How do I get the $navigation variable in a Controller after it was previously created in Bootstrap.php?