On Jan 7, 9:26 pm, Deane <[EMAIL PROTECTED]> wrote:
> That example you gave -- is that a static method on the class?  What
> if I want to instantiate a specific Widget object (from a specific row
> in the database) and run an instance method on it?

$this->Model->read(null, $id);
$this->Model->funkylogic();

in your model

function funkylogic() {
// refer to $this->data
}

hth,

AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to