diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-18 15:22:43 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-18 15:22:43 -0300 |
commit | ad8d8568b683e6935bec64abe88f79bf31706dd7 (patch) | |
tree | 43d00493cf8676acbcf4bec74bf44c717107ecd6 /classes/IsisDb.php | |
parent | 219aa7f6b4a19b723b0c25683801b1b5d502e9f4 (diff) | |
download | cinisis-ad8d8568b683e6935bec64abe88f79bf31706dd7.tar.gz cinisis-ad8d8568b683e6935bec64abe88f79bf31706dd7.tar.bz2 |
Adding audit and finder classes, cleanup and organization
Diffstat (limited to 'classes/IsisDb.php')
-rw-r--r-- | classes/IsisDb.php | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/classes/IsisDb.php b/classes/IsisDb.php deleted file mode 100644 index 4a2218a..0000000 --- a/classes/IsisDb.php +++ /dev/null @@ -1,63 +0,0 @@ -<?php - -/** - * Generic interface for reading Isis databases. - */ -interface IsisDb { - /** - * Constructor. - * - * The implementation constructor should accept a database - * schema definition and setup the appropriate db resource. - * - * @param $schema - * High level database schema description. - * - * @return - * Database resource or FALSE in case of error. - * - * @see default_schema() - */ - public function __construct($schema); - - /** - * Read an entry from the database. - * - * @param $id - * Database entry id. - */ - public function read($id); - - /** - * Return number of entries in the database. - * - * @return - * Number of entries in the database. - */ - public function entries(); - - /** - * Return an example database schema. - * - * The example schema should have all information the implementation - * needs to be able to open and read a database. - * - * @return - * Array with a sample database schema. - */ - public function example(); - - /** - * Configuration check. - * - * @param $schema - * Database schema to check. - * - * @param $section - * Configuration section. - * - * @return - * Database schema or FALSE if error. - */ - static function check($schema, $section = NULL); -} |