Thursday, February 4, 2010

Re: List of models

Try Configure::listObjects('model')

On Feb 4, 11:25 am, Stevil <st...@d-swares.com> wrote:
> I've only just started learning cake recently, so sorry if this
> question has been asked before as I've got no idea what to search for.
> Basically what I'm trying to do is find all the models in the system.
> I'm working on a system which auto generates menus for the different
> models. I'm sure I could read through the files inside the models
> directory to get them, but I thought there might be a better way?

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: