-- a_d_j_i <[email protected]> wrote (on Monday, 03 August 2009, 01:14 PM -0700): > I have two namespaces, My and MyX, it seems that when > Zend_Loader_Autoloader_Resource registers it self with > Zend_Loader_Autoloader it doesn't add the "_" at the end so I can't access > the objects in the namespace MyX. > I'm not shure if it is a bug in Zend_Loader_Autoloader_Resource or I don't > using it correctly. > > A solution that seems to work is to change the code in the constructor of > Zend_Loader_Autoloader_Resource > (Zend_Loader_Autoloader::getInstance()->unshiftAutoloader($this, $namespace > . "_");), but I'm not shure if it is the right/nice solution. > > Thanks in advance and sorry by my ugly english.
Please file an issue in the tracker for this; the resource autoloader should be registering the trailing '_' with the namespace. -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/
