I have a BaseUrl class on this path application\views\helpers
BaseUrl
application\views\helpers
class Zend_View_Helper_BaseUrl { function baseUrl () { $fc = Zend_Controller_Front::getInstance(); return $fc->getBaseUrl(); } }
but in my mind when I use
echo $this->baseUrl();
its null ;
null
can someone help?
thanks
BaseURL already has a View-Helper: class Zend_View_Helper_BaseUrl extends Zend_View_Helper_Abstract
class Zend_View_Helper_BaseUrl extends Zend_View_Helper_Abstract
I think you have problems with the default value; try renaming your Zend_View_Helper_BaseUrl or try using it by default.
Zend_View_Helper_BaseUrl
Source: https://habr.com/ru/post/1343425/More articles:Browser-level scrollbars are completely disabled when using RootLayoutPanel in GWT 2.1.1, how can I re-enable them? - layoutWEKA: StringToWordVector results differ between CUI and my Java code - javaPassage through the first directory: is this possible with O (log n) memory? - algorithmping cross domain url with javascript? - javascripthow to get fb user email using new php sdk - phpstart tomcat with specific java parameters - javaHow to add a string in pdf format as atag in html - itextsharpAccess to basic iOS data with Android - androidTop Java libraries in 2011 - javaMoving markers in the Google Maps API v3 without an intensive processor? - javascriptAll Articles