When upgrading from a previous release to Zend Framework 1.12 or higher you
should note the following migration notes.
Zend_View_Helper_Navigation
Prior to the 1.12 release, a helper with the name
"My_View_Helper_Navigation_Menu" can not be used, because the proxy
helper returns always the standard view helper
"Zend_View_Helper_Navigation_Menu".
Starting from version 1.12, you can use our own navigation helpers
with the name "menu", "breadcrumbs", ...
Create your own helper with name "Menu":
span style="color: #ff0000;">'<nav>Example</nav>';
}
}
Add the helper path to Zend_View in your
Bootstrap class:
span style="color: #ff0000;">'view');
$this->view->addHelperPath(
'path/to/helper',
'My_View_Helper_Navigation'
);
}
Or add the helper path in your "application.ini" file:
resources.view.helperPath.My_View_Helper_Navigation = "path/to/helper"
The following code is used in a view script:
Output: