标签: zend-framework templates path view
我只是想找到一种方法来使用Zend Framework获取我的视图模板目录的路径。有没有办法做到这一点?
答案 0 :(得分:7)
您可以从可以编写的视图中使用getScriptPaths()函数:
print_r($this->getScriptPaths());