There are many view helpers in Zend Framwork, out of those "baseUrl" helper can be used to get the base path of the application.
Ex:
headLink()->appendStylesheet($this->baseUrl('css/global.css')) ?>
For more details:
http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.baseurl
Ex:
headLink()->appendStylesheet($this->baseUrl('css/global.css')) ?>
For more details:
http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.baseurl
Comments