Re: Issus while updating from QF to QF2

From: Date: Mon, 13 Feb 2012 18:07:21 +0000
Subject: Re: Issus while updating from QF to QF2
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-31413@lists.php.net to get a copy of this message
Hello Mark, > >> 1. Adding/use rules with callbacks > > Instead of providing two parameters, you need to provide a > > callback[1]: > > > >> $FORM->registerRule( > >>     'testSecret', 'callback', > >>     array($LOGIN, 'testSecret') > >> ); > > [1] http://de.php.net/callback > Do you receive the values of the whole form as an argument? AFAIK, yes. -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=-

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.general (#31413) next »