jiewmeng wrote: > > <p>but what if i want to load my own namespaced classes Doctrine > Entities/Models & Proxies. in a specific directory? where shld my Doctrine > Models and Proxies go btw? i put them in <code>APPLICATION_PATH</code> > now</p> > I put them under my namespace. For example if your namespace is "my", then you would do something like:
namespace my\model; class User ... You would of course reference this class as $user = new my\model\User() or $user = new \my\model\User() ----- -- 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-tp2301361p2301845.html Sent from the Zend Framework mailing list archive at Nabble.com.
