Created
February 9, 2010 13:10
-
-
Save ixti/299185 to your computer and use it in GitHub Desktop.
Code snippet for: http://n4.nabble.com/forum/PostLink.jtp?post=1474402
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class IndexController extends Zend_Controller_Action | |
{ | |
public function indexAction() | |
{} | |
public function demoAction() | |
{ | |
$page = Zend_Registry::get('Zend_Navigation')->findOneBy('active', true); | |
if (null !== $page) { | |
$page->demoName = 'Hi, there!'; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment