If that doesn't work (it might only return from the given context), you might need to look in to the ConnectionManager Class: http://api.cakephp.org/class/connection-manager -- I'd definitely try out Dr. Loboto's suggestion first though as it would be very easy to test out.
On Feb 4, 10:50 pm, "Dr. Loboto" <[email protected]> wrote: > Try Configure::listObjects('model') > > On Feb 4, 11:25 am, Stevil <[email protected]> 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?- Hide > > quoted text - > > - Show quoted text - 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
