9 * This source file is subject to the new BSD license that is bundled
10 * with this package in the file LICENSE.
11 * It is also available through the world-wide-web at this URL:
12 * http://phergie.org/license
16 * @author Phergie Development Team <team@phergie.org>
17 * @copyright 2008-2010 Phergie Development Team (http://phergie.org)
18 * @license http://phergie.org/license New BSD License
19 * @link http://pear.phergie.org/package/Phergie_Command
23 * Database management class. Provides a base API for managing databases
28 * @author Phergie Development Team <team@phergie.org>
29 * @license http://phergie.org/license New BSD License
30 * @link http://pear.phergie.org/package/Phergie_Db_Manager
32 abstract class Phergie_Db_Manager
35 * Returns a connection to the database.
39 public abstract function getDb();
42 * Checks if a table/collection exists within the database.
44 * @param string $table Table/collection name to check for
48 public abstract function hasTable($table);