ZF-6656: Autoloader_Ressource doc : wrong example

Issue Type: Docs: Problem Created: 2009-05-14T09:41:11.000+0000 Last Updated: 2012-11-20T21:37:28.000+0000 Status: Open Fix version(s): Reporter: julien PAULI (doctorrock83) Assignee: None Tags: - Zend_Loader

Related issues: Attachments:

Description… 30.3.1. Resource autoloader usage

It says that {quote} Within this directory, all code is prefixed with the namespace "My_". Within the "acls" subdirectory, the component prefix "Acl_" is added, giving a final class name of "My_Acl_Site". Similarly, the "forms" subdirectory maps to "Form_", giving "My_Form_Login". The "models" subdirectory has no component namespace, giving "My_User". {quote}

The bold sentence is wrong. Any class that is not in a ResourceType directory, cannot be loaded by the Ressource Autoloader


Posted by Maxim Stepanov (mast) on 2010-06-11T08:25:27.000+0000

Just found the same issue. Is there a way to get My_User loaded using Zend_Loader_Autoloader_Resource?

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.