[英]Zend Framework: Is there a way to get the path to the view template directory?
我只是想找到一種方法來使用Zend Framework獲取我的視圖模板目錄的路徑。 有沒有辦法做到這一點?
您可以從可以編寫的視圖中使用getScriptPaths()函數:
print_r($this->getScriptPaths());
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.