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();
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
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