Issue Type: Docs: Problem Created: 2009-12-30T23:25:59.000+0000 Last Updated: 2011-02-18T19:36:58.000+0000 Status: Resolved Fix version(s): - 1.11.2 (30/Dec/10)
Reporter: Stanislav Malyshev (stas) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Loader
Related issues: - ZF-10852
The manual provides this example of how to add resource types:
$resourceLoader->addResourceType('acl', 'acls/', 'Acl') ->addResourceType('form', 'forms/', 'Form') ->addResourceType('model', 'models/');
In fact, the third type would throw an exception, since it needs namespace to define a new 'model' type.
Posted by Michael Ekoka (verysimple) on 2010-08-26T14:10:29.000+0000
I have a media module and I thought I could just name my models Media_Picture if I ignored the namespace argument as in ->addResourceType('model', 'models/'). This should definitely be fixed in the doc.
Posted by Ramon Henrique Ornelas (ramon) on 2011-02-18T19:36:10.000+0000
Fixed with the issue ZF-10852 in the version 1.11.2.
Have you found an issue?
See the Overview section for more details.