cvs: pear /MDB manager_common.php

From: Date: Wed, 12 Jun 2002 12:54:06 +0000
Subject: cvs: pear /MDB manager_common.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4567@lists.php.net to get a copy of this message
lsmith Wed Jun 12 08:54:06 2002 EDT Modified files: /pear/MDB manager_common.php Log: added listdatabases, listUsers, listViews and listFunctions Index: pear/MDB/manager_common.php diff -u pear/MDB/manager_common.php:1.2 pear/MDB/manager_common.php:1.3 --- pear/MDB/manager_common.php:1.2 Fri May 31 13:28:25 2002 +++ pear/MDB/manager_common.php Wed Jun 12 08:54:06 2002 @@ -6,7 +6,7 @@ /* * manager_common.php * - * @(#) $Header: /usr/repository/pear/MDB/manager_common.php,v 1.2 2002/05/31 17:28:25 lsmith Exp $ + * @(#) $Header: /usr/repository/pear/MDB/manager_common.php,v 1.3 2002/06/12 12:54:06 lsmith Exp $ * */ @@ -116,6 +116,30 @@ "Alter table: database table alterations are not supported"); } + function listDatabases(&$db, &$dbs) + { + return $db->raiseError(DB_ERROR_NOT_CAPABLE, "", "", + 'List Databses: list databases is not supported'); + } + + function listUsers(&$db, &$users) + { + return $db->raiseError(DB_ERROR_NOT_CAPABLE, "", "", + 'List User: list user is not supported'); + } + + function listViews(&$db, &$views) + { + return $db->raiseError(DB_ERROR_NOT_CAPABLE, "", "", + 'List View: list view is not supported'); + } + + function listFunctions(&$db, &$functions) + { + return $db->raiseError(DB_ERROR_NOT_CAPABLE, "", "", + 'List Function: list function is not supported'); + } + function listTables(&$db, &$tables) { return $db->raiseError(DB_ERROR_NOT_CAPABLE, "", "",

« previous php.pear.cvs (#4567) next »