Hi Maxx,
> I tried with
> loadModel($selectedModel);
> $this->$selectedModel->_schema
> but this syntax is wrong in php (and I don't know php classes well).
> I can't use php 5 syntax.
The easiest way would be to use ClassRegistry::init('ModelName')->_schema;
hth
jon
--
jon bennett - www.jben.net - blog.jben.net
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---