Re: RFC: Credit card processing
| From: | Ian Eure | Date: | Sat, 13 Dec 2003 04:05:53 +0000 |
| Subject: | Re: RFC: Credit card processing | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-24381@lists.php.net to get a copy of this message | ||
On Friday 12 December 2003 07:39 pm, Mike wrote:
> Joe Stump wrote:
> > Why not use the DB model?
> >
> > DB Error of some sort? Return a DB_Error class (extended from PEAR_Error)
> >
> > Result good? Return a DB_Result class.
>
> What is being held in a database?
>
I think he meant that we should use the DB model, where it returns a DB_Result
object on success and a PEAR_Error object on failure.