Re: Getting a list of available models

2007-12-07 Thread AD7six
On Dec 7, 6:39 am, 7elephants <[EMAIL PROTECTED]> wrote: > Does anybody know if there is a already available method for getting > the list of available models within a component and/or controller? > > Thank you in advance. Check the api, depends on your version of cake $models = loadModels();

Re: Getting a list of available models

2007-12-06 Thread metasan
Hi, In the controller you can parse the 'uses' array ($this->uses) to get the models it is using. I don't know if it what you need. Let me know if it's something else. metasan www.pieg.net --~--~-~--~~~---~--~~ You received this message because you are subscribed

Getting a list of available models

2007-12-06 Thread 7elephants
Does anybody know if there is a already available method for getting the list of available models within a component and/or controller? Thank you in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PH