Monday, November 3, 2008

Re: Returning a model variable

On Mon, Nov 3, 2008 at 10:11 PM, spyros k. <SpyrosKalaitzis@gmail.com> 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

[gus@pará ~]# links http://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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: