First of all, thank you for the reply. I know what you mean about the scope of the variable, and that is why I asked how I can return it. I'm using it in the afterSave callback of the model.
On Nov 4, 3:34 am, "Marcelo Andrade" <[EMAIL PROTECTED]> wrote: > On Mon, Nov 3, 2008 at 10:11 PM, spyros k. <[EMAIL PROTECTED]> wrote: > > > For example i define $foo in a function in my model, how can i see > > what is it's value? > > I think it's not possible, cause the scope of the variable is > limited to the funcion in which it's defined. Maybe you can > use the session to store the value, but I'm not sure. > > Best regards. > -- > MARCELO DE F. ANDRADE (aka "eleKtron") > Belem, PA, Amazonia, Brazil > Linux User #221105 > > [EMAIL PROTECTED] ~]# linkshttp://pa.slackwarebrasil.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
