Addition to DB/common.php ?

From: Date: Fri, 02 Feb 2001 02:17:59 +0000
Subject: Addition to DB/common.php ?
Groups: php.pear 
Request: Send a blank email to php-pear+get-1245@lists.php.net to get a copy of this message
I was doing some coding this past weekend on some personal projects and I ended up creating a wrapper to PEAR's DB.php for some functions that I usually like to use. I usually create several functions to insert / update / delete records by passing $table_name, $fields (associative array) and $conditions if appropriate. 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. 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 ? Joao -- João Prado Maia <jpm@phpbrasil.com> http://phpbrasil.com - php com um jeitinho brasileiro

« previous php.pear (#1245) next »