Public Member Functions | |
__construct ($schema) | |
read ($id) | |
entries () | |
example () | |
Static Public Member Functions | |
static | check ($schema, $section=NULL) |
Generic interface for reading Isis databases.
IsisDb::__construct | ( | $ | schema | ) |
Constructor.
The implementation constructor should accept a database schema definition and setup the appropriate db resource.
$schema | High level database schema description. |
Implemented in BiblioIsisDb, MaleteDb, and PhpIsisDb.
static IsisDb::check | ( | $ | schema, | |
$ | section = NULL | |||
) | [static] |
Configuration check.
$schema | Database schema to check. | |
$section | Configuration section. |
Implemented in BiblioIsisDb, MaleteDb, and PhpIsisDb.
IsisDb::entries | ( | ) |
Return number of entries in the database.
Implemented in BiblioIsisDb, MaleteDb, and PhpIsisDb.
IsisDb::example | ( | ) |
Return an example database schema.
The example schema should have all information the implementation needs to be able to open and read a database.
Implemented in BiblioIsisDb, MaleteDb, and PhpIsisDb.
IsisDb::read | ( | $ | id | ) |