Re: How to find out if action has been called by requestAction()?
Ahh thank you. Much appreciated!
On May 11, 3:23 am, John Andersen <j.andersen...@gmail.com> wrote:
> In the $this->params there will be a parameter named "requested" equal
> to 1, and one named "return" equal to 1.
> My assumption is that they indicate that it is a requestAction from
> within the application itself and that the requested action is to
> return.
> Enjoy,
> John
>
> On May 10, 5:49 pm, Steven Chan <smelli...@gmail.com> wrote:
>
>
>
> > Hi all,
>
> > I'm using cake 1.2. I was wondering if there was a way for a
> > controller/action to know eg. variable or property set etc. etc. if it
> > had been called through a requestAction()?
>
> > Thanks
>
> > Steven
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others with their CakePHP related questions.
>
> > 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 athttp://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> 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 athttp://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home