Wednesday, October 26, 2011

Seeking clarification

Just asking a possibly dumb question. I'm working through the 2.0
tutorial to become more familiar with it. Is it required/advised/
unnecessary to add:

$public $name = 'Whatever';

...to models and controllers? The tutorial sometimes has it, sometimes
doesn't.

PS I thought it was connected with PHP 4, so it's now redundant in 2.0.

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