Re: Validation functions
| From: | Pierre-Alain Joye | Date: | Sat, 22 Jun 2002 17:00:20 +0000 |
| Subject: | Re: Validation functions | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7293@lists.php.net to get a copy of this message | ||
On Sat, 22 Jun 2002 17:53:15 +0200
alexander.merz@t-online.de (Alexander Merz) wrote:
> If you change this to
> PEAR::raiseError( ...
> and using constants for the errorcode (VALIDATE_UK_ERROR_*)
> i would be inspred! :-)
>
That will definitively not match the needs of Validate.
The only methods should use PEAR::raiseError is the multiple method when the load of an external
module failed, but not significant.
pa
ps: sorry for double post, wrong thread :)