Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.4
-
Fix Version/s: 1.10.2
-
Component/s: Zend_Loader
-
Labels:None
Description
Zend_Loader_PluginLoader appends '_' to the prefixes added to it, preventing the use of namespaces classes as plugins.
Making it prefix-agnostic allows it to load namespaced classes, by specification of a "My\View\Helper\" prefix.
Quick and dirty fix to allow the use of namespaced view helpers.
This works only because since view helpers cannot be in subfolders and the basename is directly appended to the path. For other classes path calculation could be wrong.