Re: Calling actions inside a controller

2010-04-26 Thread Eric Anderson
Thank you both so much! I really appreciate it. Eric On Apr 26, 1:06 am, Jeremy Burns wrote: > Good point.. As far as I know, the key difference is: > > $this->functionName() is used to call another function that ought to return a > value back to the calling function. > $this->setAction() effec

Re: Calling actions inside a controller

2010-04-26 Thread Jeremy Burns
Good point.. As far as I know, the key difference is: $this->functionName() is used to call another function that ought to return a value back to the calling function. $this->setAction() effectively terminates the calling action and starts the called action, which then (probably) renders a view.

Re: Calling actions inside a controller

2010-04-26 Thread Miles J
Or you can use $this->setAction(). On Apr 25, 10:54 pm, Jeremy Burns wrote: > $this->functionName(); > > Jeremy Burns > jeremybu...@me.com > > On 25 Apr 2010, at 23:40, Eric Anderson wrote: > > > > > Hi everyone, > > > I was unable to find the answer to this question in the 1.2.x > > documentatio

Re: Calling actions inside a controller

2010-04-25 Thread Jeremy Burns
$this->functionName(); Jeremy Burns jeremybu...@me.com On 25 Apr 2010, at 23:40, Eric Anderson wrote: > Hi everyone, > > I was unable to find the answer to this question in the 1.2.x > documentation or in this group (although I have a feeling it must have > already been answered somewhere). >

Calling actions inside a controller

2010-04-25 Thread Eric Anderson
Hi everyone, I was unable to find the answer to this question in the 1.2.x documentation or in this group (although I have a feeling it must have already been answered somewhere). How do I properly call another action of the controller inside another action? All within the same controller. I just