if you are in E_STRICT mode in PHP (which you seem to be) you will be
notified if you don't use the exact param declaration in the
inheriting classes.
the Model::beforeSave() is:
public function beforeSave($options = array()) {}
so you need to use the exact same params (with the exact same default
values):
public function beforeSave($options = array()) {
parent::beforeSave($options);
...
}
you probably forgot about the $options param.
On 15 Nov., 02:45, David Sheeks <[email protected]> wrote:
> I put 5.4 on a vmware server to check cakephp against it and everything
> appears to work, but i'm getting the following notice:
>
> Declaration of AppModel::beforeSave() should be compatible with
> Model::beforeSave($options = Array) [*APP/Model/AppModel.php*, line
> *34*]
--
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