On 22 Ott, 12:28, emmexx <[email protected]> wrote:
> On 22 Ott, 12:04, Jon Bennett <[email protected]> wrote:
> > The easiest way would be to use ClassRegistry::init('ModelName')->_schema;
For the record:
This works with php5:
ClassRegistry::init('ModelName')->_schema;
With php4 use:
$obj = ClassRegistry::init('ModelName');
$fields = $obj->_schema;
bye
maxx
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---