Re: [PHP-PEAR] Addition to DB/common.php ?
[email protected] (Chuck Hagenbuch)
| Newsgroups | php.pear |
|---|---|
| Message-ID | <[email protected]> |
Quoting Joao Prado Maia <[email protected]>: > Everyone is probably going to beat me up for this, but can I add these > functions to DB/common.php ? I'm not sure if they would be categorized as > pure 'bloat', but I figured I should ask anyway. From your description, I don't think this belongs in DB_common at all. > I could also create this as a subclass for DB.php and go from there, but > it would be kinda too much abstraction and sub-layers of functions, > wouldn't it ? This sounds to me exactly the kind of thing that subclasses are for... -chuck -- Charles Hagenbuch, <[email protected]> "My intuitive grasp of math often leads me astray." -Me