jiewmeng wrote: > > to tell the class loader to look for classes under the Doctrine\ORM > namespace under a path. how do i do the same in Zend Framework? > With Zend Framework, you only need to give the autoloader your namespace and you are good to go.
autoloaderNamespaces[] = "Doctrine" autoloaderNamespaces[] = "myns\\" This assumes that "myns" is in your include path and has a directory structure that adheres to "PSR-0 Final Proposal": http://groups.google.com/group/php-standards/web/psr-0-final-proposal ----- -- Wil Moore III Why is Bottom-posting better than Top-posting: http://www.caliburn.nl/topposting.html -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/How-do-i-setup-Autoloading-of-PHP-5-3-namespaced-classes-and-specify-a-base-path-tp2301361p2301982.html Sent from the Zend Framework mailing list archive at Nabble.com.
