from php nut in an earlier thread

if($this->params['requested'] === true){
// do your thing here
}

Sam D

On 12/12/06, Claudio Poli  <[EMAIL PROTECTED]> wrote:
>
> hi,
> there's a method to distinguish between a normal url and a
> requestAction call?
>
> I've a requestAction in a view that gets data from a controller's
> method, obviously I can call it via url, it has no view.
> I know that putting debug to 0 will result in a 404, but I'm wondering
> if there's a way to differentiate, so I can use some ifelse statement.
> hope makes sense.
>
> thanks.
>
>
> >
>


-- 
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

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