Thank you for reply :)
I see.
But how to solve this?
i used a code from zend manual and this is a part which i didnt touch (lol)
public function setSubFormDecorators(Zend_Form_SubForm $subForm)
{
$subForm->setDecorators(array(
'FormElements',
array('HtmlTag', array('tag' => 'dl', 'class' => 'zend_form')),
'Form',
));
return $this;
}
So i dont know what to do and how to make it compatible :)
R! wrote:
>
> It means that your method setSubFormDecorators must have same parameters
> as Zend_Form::setSubFormDecorators
>
> vladimirn wrote:
>>
>> Strict Standards: Declaration of
>> forms_Registration::setSubFormDecorators() should be compatible with that
>> of Zend_Form::setSubFormDecorators() in
>> C:\wamp\www\zend-fw\application\forms\registration.php on line 2
>> /* registration.php */
>> <?php
>> class forms_Registration extends Zend_Form // this is line 2
>> {
>> public function init()
>> {
>> // Create user sub form: username and password
>> $user = new Zend_Form_SubForm();
>>
>> What this warning actually means? And it is displayed on every page on my
>> multi page registration form.
>> Files i am using are registration.php and RegistrationController.php
>>
>> Thanks,
>> Vladd
>>
>
>
--
View this message in context:
http://www.nabble.com/Strict-Standards%3A-i-dont-understand-this-warning-tp19167866p19169347.html
Sent from the Zend Framework mailing list archive at Nabble.com.