>Can I have sub-folders in the models?
Yes you can.
That goes for controllers and "libs" too, whithout any configuraton.


On Apr 1, 11:36 am, Ryan Schmidt <[email protected]> wrote:
> On Apr 1, 2011, at 10:29, Anas Mughal wrote:
>
> > Do components have access to models?
>
> My understanding is that components can have their own models. I don't know 
> if components can access the app's main models. The main app's models could 
> however make use of and even extend the component's models. The idea is that 
> components are supposed to be black boxes, and that you could copy a 
> component from one project to another and reuse it. The book explains more 
> about components:
>
> http://book.cakephp.org/view/996/Creating-Components
>
> > Otherwise, I will consider your recommendation and put my delegates in the 
> > model package.
>
> You mean: in the model. There's no such thing as a "model package".
>
> > Can I have sub-folders in the models?
>
> I don't believe so.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to