BUGFIX Added stub PDODatabase implementations to avoid errors when batch-instanciating singletons

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@68166 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-12-10 07:33:27 +00:00
parent 05aa3503ec
commit 0a017da580

View File

@ -646,6 +646,14 @@ class PDODatabase extends Database {
}
return isset($tables) ? $tables : null;
}
public function hasTable($tableName) {
user_error("PDODatabase::hasTable() - Not implemented", E_USER_ERROR);
}
public function enumValuesForField($tableName, $fieldName) {
user_error("PDODatabase::enumValuesForField() - Not implemented", E_USER_ERROR);
}
/**
* Return the number of rows affected (DELETE, INSERT, or UPDATE) by the previous operation.