Wil Moore III wrote:
> 
> $user = new \my\model\User()
> 
This also assumes that your namespaced classes are located in a directory
structure that matches the namespace.

So, the above example would indicate a directory structure like:

/path/to/your/library/my/model/User.php

And of course, "/path/to/your/library" should be in your include_path.



-----
--
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-tp2301361p2301900.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to