Thursday, July 26, 2012

Re: Beginners question - where can I find what I can pass to certain properties?

Ah, my mistake! Awesome I've been looking everywhere. As I wasn't in routes.php I never thought to look up routing.

Thank you so much for your help.

On Thursday, 26 July 2012 09:33:58 UTC+1, bigjimmi wrote:
Hi Guys 

First post, apologies its pretty basic!

I'm struggling with the cakephp docs, where can I find exactly what I can pass to certain properties? 

For example, it to me AGES to discover I could pass 'admin' => TRUE to

$this->Auth->loginAction = array('controller' => 'users', 'action' => 'login', 'admin' => TRUE);

Which caused me loads of problems.

Where can I find out what else I can pass? I've looked at the API and it just says array(), but WHAT can the array consist of?

Thanks in advance for your time.

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