you can try $this->Email->Controller->set
it worked for me
Sam D
On 3/20/07, Ámon Tamás <[EMAIL PROTECTED]> wrote:
>
> Hi how I see no $this->methods tahing effects in email element, but it
> is only in php4. I must to use the $GLOBALS array for it, but it is very
> ugly.
>
> Ámon Tamás írta:
> > Hello,
> >
> > $this->set not working with email component in php 4. The same code is
> > working in php 5.
> >
> > If I use
> >
> > $this->set('code', $id);
> >
> > I get an error message (with DEBUG,1) the $code not defined.
> >
>
>
> --
> Ámon Tamás
> http://linkfelho.amon.hu
>
>
> >
>
--
(the old fart) the advice is free, the lack of crankiness will cost you
- its a fine line between a real question and an idiot
http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---