Home > Backend Development > PHP Tutorial > 分页类解决思路

分页类解决思路

WBOY
Release: 2016-06-13 11:04:28
Original
927 people have browsed it

分页类
Zend_View_Helper_PaginationControl::setDefaultViewPartial('my_pagination_control.phtml');

这个my_pagination_control.phtml这个视图文件能不能指定一个目录
而不是每个模块都在模块自己的views/script下查找?
------解决方案--------------------
当然,可以。
$this->view->addScriptPath(PAGE_DIR); 
------解决方案--------------------
最简单的方式就是在action里,直接加。当然还有很多方式,有空可以研究一下

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template