if you disable strict mode in your core.php you shouldnt get any such notices regardless if you are using 5.4 or 5.3
correct me if I'm wrong
but yes, some code examples might be outdated
the documentation can be forked and edited, though.
I would help, too, but my time is limited at the moment unfortunately
Am Mittwoch, 18. April 2012 17:01:55 UTC+2 schrieb rvcT:
using cake 2.1.1 + php 5.4when writing your components callback functions ensure that they have the same declaration as there parent function in class component for example : when using function initialize in your component make it's declaration aspublic function initialize(Controller $controller) {}not "as provided in the cookbook"public function initialize($controller) {}Notice the type of the passed argument $controller is 'Controller'-i think it's php 5.4 issue , i hope someone put the notice in docs
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:
Post a Comment