zeta-components

How to integrate ezComponents with magento

妖精的绣舞 提交于 2019-12-18 16:57:07
问题 in a 'native' Zend Framework application I would enable the use of ezComponents by adding the autoloader of ezComponents to Zends autoloader: $autoLoader = Zend_Loader_Autoloader::getInstance(); require_once('../library/EZComponents/Base/src/base.php'); $autoLoader->pushAutoloader(array('ezcBase', 'autoload'), 'ezc'); Now, I'm wondering how I could do the same with Magento. Is there a way to extend Varien_Autoload (magentos autoloader) to enable easy integration of ezComponents? OR: Is there

How to integrate ezComponents with magento

蓝咒 提交于 2019-11-30 15:15:36
in a 'native' Zend Framework application I would enable the use of ezComponents by adding the autoloader of ezComponents to Zends autoloader: $autoLoader = Zend_Loader_Autoloader::getInstance(); require_once('../library/EZComponents/Base/src/base.php'); $autoLoader->pushAutoloader(array('ezcBase', 'autoload'), 'ezc'); Now, I'm wondering how I could do the same with Magento. Is there a way to extend Varien_Autoload (magentos autoloader) to enable easy integration of ezComponents? OR: Is there a way to use Zends autoloader beside the one from Magento without interfering each other? edit: Well, I