cvs: pear /DBA DBA_Toolbox.php
| From: | Brent Cook | Date: | Mon, 26 Aug 2002 18:13:14 +0000 |
| Subject: | cvs: pear /DBA DBA_Toolbox.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5994@lists.php.net to get a copy of this message | ||
busterb Mon Aug 26 14:13:14 2002 EDT
Modified files:
/pear/DBA DBA_Toolbox.php
Log:
renamed quickform->dba functions
Index: pear/DBA/DBA_Toolbox.php
diff -u pear/DBA/DBA_Toolbox.php:1.7 pear/DBA/DBA_Toolbox.php:1.8
--- pear/DBA/DBA_Toolbox.php:1.7 Mon Aug 26 14:06:30 2002
+++ pear/DBA/DBA_Toolbox.php Mon Aug 26 14:13:14 2002
@@ -18,7 +18,7 @@
// | Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA|
// +----------------------------------------------------------------------+
//
-// $Id: DBA_Toolbox.php,v 1.7 2002/08/26 18:06:30 busterb Exp $
+// $Id: DBA_Toolbox.php,v 1.8 2002/08/26 18:13:14 busterb Exp $
//
require_once 'PEAR.php';
@@ -31,7 +31,7 @@
* @access public
* @package DBA
*/
-function addQuickformDBA(&$form, $schema, $auxMeta)
+function dbaToQuickform(&$form, $schema, $auxMeta)
{
foreach ($schema as $name=>$meta) {
if (isset($auxMeta['default'])) {
@@ -73,7 +73,7 @@
* Postprocess $_POST variables that were left by a form using addQuickformDBA
* @return array DBA row suitable for inserting into a DBA table
*/
-function processQuickformDBA(&$form, $schema, $auxMeta)
+function quickformToDBA(&$form, $schema, $auxMeta)
{
foreach ($schema as $name=>$meta) {
if ($isset($auxMeta[$name]) && isset($_POST[$name])) {