|
|
|
|
|
|
NY Thoughts and Zend_View_Helper Notes
Continuing from my post last week of notes on the Zend Framework, I’d like to provide some pointers on using helpers with views in a much more automated way. Just as views can be automated—that is, you don’t have to instantiate a Zend_View object; the controller does it all for you when you call $this->render() from any controller action—you do not have to explicitly tell Zend_View where your helpers reside, as the manual suggests. Instead, place your helpers in a special “helpers” folder where the Zend_Controller_Action’s initView() can find them.
| Author: |
Ben Ramsey
|
| Zend Framework Version: |
Not available
|
Rating: 6.00/10 (1 vote cast)
|
|
|
|
|
|
|
|
|