Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zend Framework: Is there a way to get the path to the view template directory?

I'm just trying to find a way to get the path to the directory of my view templates using the Zend Framework. Is there a way to do that?

like image 287
Andrew Avatar asked Nov 26 '25 10:11

Andrew


1 Answers

You can use getScriptPaths() function so from a view you could write:

print_r($this->getScriptPaths());
like image 177
Brian Fisher Avatar answered Nov 28 '25 05:11

Brian Fisher



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!