Monday, February 6, 2012

Re: How does $this->request->is('post') works?

On Feb 6, 1:22 am, Fernando Nery Filho <fnfi...@gmail.com> wrote:
> Hello everyone!
>
> I'm having some trouble with the $this->request->is('post') object and
> hope I can get some answers here...
>
> In my controller I have the following:
>
> public function movie($action = "list", $id = "") {
>         if ($action == "single") {

Why is $action even a variable - each action should be a separate ...
action.

AD

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

No comments: