Details
-
Type:
Improvement
-
Status:
Postponed
-
Priority:
Blocker
-
Resolution: Unresolved
-
Affects Version/s: 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5
-
Fix Version/s: None
-
Component/s: Zend_View
-
Labels:None
Description
Zend_View_Abstract is the only class that restricts usage to the defined Zend_Loader_PluginLoader. Other components like Zend_Form, Zend_Filter_Inflector, Zend_Controller_Action_HelperBroker allow usage of another defined pluginloader via the Zend_Loader_PluginLoader_Interface
Zend_View_Abstract::setPluginLoader() needs Zend_Loader_PluginLoader instead of Zend_Loader_PluginLoader_Interface because Zend_View_Abstract::getHelperPaths() is using a getPaths()-method that is not declared in the interface, so we cannot change this.
A way to solve this is to add getPaths() to Zend_Loader_PluginLoader_Interface, but this will break backwards compatibility.