ZF v 1.7.3 (and 1.7.2)
In a loading file:
$view = new Zend_View ();
$view-> setEncoding (' UTF-8 ');
$view-> addHelperPath (X_Path:: getPathLibrary (). ' My/View/Helper
', ' My_View_Helper ');
$view-> addFilterPath (X_Path:: getPathLibrary (). ' My/View/Filter
', ' My_View_Filter ');
$viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer ();
$viewRenderer-> setView ($view);
Zend_Controller_Action_HelperBroker:: addHelper ($viewRenderer);
1) created Helper View in My:
' My/View/Helper/Url.php '
2) created Helper View in default module:
‘ application/default/views/helpers/Url.php ’-> Zend_View_Helper_Url
In template view /index/index.phtml
<? php echo $this-> url ();?>
The result out: ' My/View/Helper/Url.php '
Error should be executed: application/default/views/helpers/Url.php!!!
Zend doc 51.4.2. !!!
Ps
Also an error at use Zend_View_Helper_Action!!!
--
View this message in context:
http://www.nabble.com/Error-of-loading-Helper-View-tp21580953p21580953.html
Sent from the Zend Framework mailing list archive at Nabble.com.