'=>' is one way to assign a value in an array in PHP. For more info
check:

http://php.net/manual/en/book.array.php

Regards,
Anatoli

On Feb 28, 6:47 am, nicolas <[email protected]> wrote:
> hi,
> in this code: $this->redirect(array('action'=>'index'));
> I am absolutely new to cakePHP.  the "=>" really confuses me a lot. I
> couldn't find it in PHP documentation.
>
> Can anybody tell me what "=>" means exactly? and explain the syntax of
> =>?
>
> Thanks a lot!
>
> REgards,
> Nicolas

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to