Re: Validate package API proposal
| From: | Bertrand Mansion | Date: | Mon, 17 Feb 2003 08:23:59 +0000 |
| Subject: | Re: Validate package API proposal | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-13400@lists.php.net to get a copy of this message | ||
<paj@pearfr.org> wrote :
> Hello,
>
> Find in the current cvs what we discussed here.
>
> The differences in the interface are:
> - A maximum of 2 arguments
> One for the data to valid
> One for the option
>
> - If there are more then 1 value for each type of args, an array is
> used. The properties are documeted inside the php_doc comments
>
> - The multiple method has been updated as well, see the example in
> the 'docs' folder
>
> Let me know asap if that works for your needs, this new interface sounds
> good to me and my need.
>
> pierre
>
> ps: [bertrand]has my ass moved enough faster this time ?
You moved too fast, have some rest now :)
I'll let you know if this works with QuickForm and I'll test as many methods
as I can. At the moment, this looks quite OK and I thank you for that.
Take care,
Bertrand Mansion
Mamasam