A.J. Brown wrote:
> 
> The only exception I've discovered so far is bootstrap resources, which
> must follow the old PEAR style "namespacing" (vendor prefixing).  The
> documentation claims that it works as of ZF 1.10 as well:
> http://framework.zend.com/manual/en/zend.loader.autoloader.html
> 
Hey A.J.,

I agree that the ZF 1.x autoloader works fine, and I used that for months
without issue before switching to the Symfony Universal Class Loader (for
reasons of granularity).

If you want true namespaces in your application resources you can use the
following configuration recipe (assumes you are using .ini)

pluginPaths.your\application\resource\  = SOURCE_PATH
"/library/your/application/resource"

Where "your\application\resource\" is the namespace prefix to your
application resources. In other words, you'd define your resources as
depicted below:


<?php
namespace your\application\resource;
class Assets extends AbstractResource {}




-----
--
Wil Moore III

Why is Bottom-posting better than Top-posting:
http://www.caliburn.nl/topposting.html

DO NOT TOP-POST and DO trim your replies:
http://linux.sgms-centre.com/misc/netiquette.php#toppost
--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Extending-Doctrine-entities-using-Zend-an-My-library-tp3456839p3461390.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to