On Sun, Feb 24, 2008 at 10:25 AM, Carl <[EMAIL PROTECTED]> wrote: > > I guess the real question is what do I pass as a reference to the > model? I tried passing $this-><Model> and &$this-><Model> and neither > one works.
If you are using CakePHP 1.2, you can do the following: $this-><Model>->schema() and it returns you metadata containing the field names http://api.cakephp.org/1.2/class_model.html#fea8b01f6b5612d6041eed6f6e29d9d6 Hope that helps. -- Chris Hartjes Internet Loudmouth Motto for 2008: "Moving from herding elephants to handling snakes..." @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
