Zend_View doesn't use the autoloader, although the path and name of the
class would lead you to believe that it does. It uses the plugin loader
only, so be sure to register your helper paths in each of your module
bootstraps.

--
Hector


On Mon, Jan 11, 2010 at 1:59 PM, Mike Wright <[email protected]>wrote:

> Mike Wright wrote:
>
>>
>> Plugin by name 'DivWrap' was not found in the registry;
>> used paths:
>> Zend_View_Helper_:
>> Zend/View/Helper/:
>> Mnb/View/Helper/:
>> /srv/www/mnb.5/application/views/helpers/
>>
>> But the last 2 lines above show that it knows where to look and is looking
>> in the right places so addHelperPath worked.
>>
>
> (thanks, takeshin and hector;  seems reply-to sends mail to the original
> poster and not the list;  here's what I attempted to send earlier)
>
> Within two minutes of posting I found what was missing.
>
> There was no correlation between Mnb_View_Helper and Mnb/View/Helper.
> By using setHelperPath the helper was findable.
>
> As an experiment I returned to addHelperPath but changed the class name
> to just DivWrap but that erred, contrary to what I expected.
>
> I still don't understand why the class under views/helpers couldn't be
> found either.  Changing its name to View_Helper_DivWrap didn't help,
> either.
>
> Insight?
>
>
>

Reply via email to