Where do I save partial (views) in Zend Framework, to be accessible for all Views in my App?
- 阅读更多 关于 Where do I save partial (views) in Zend Framework, to be accessible for all Views in my App?
问题 I have several view Partials (like paginator partial) which I want them to be available To all view scripts in my application. Is there a directory I can put partial vies in, and they will be available to all? Or, how do I define such a directory? 回答1: You can create a folder in the views folder with any name and from your views you would call a partial using the following code and as the second argument pass an array of values which would be used within the partial. $this->partial('your