DbStore is a persistent store of RDF data using relational database technology.
DbStore uses ADOdb Library for PHP V3.60 (http://php.weblogs.com/ADODB), which allows to connect to multiple databases in a portable manner. This class also provides methods for creating tables for MsAccess, MySQL, and MS SQL Server. If you want to use other databases, you will have to create tables by yourself according to the abstract database schema described in the API documentation.
History:
Located in /model/DbStore.php (line 30)
Object | --DbStore
Constructor: Set the database connection with the given parameters.
Close the DbStore.
!!! Warning: If you close the DbStore all active instances of DbModel from this !!! DbStore will lose their database connection !!!
Create tables and indexes for the given database type.
Currently supported: MsAccess and MySQL. If you want to use other databases, you will have to create tables by yourself according to the abstract <a href="database_schema.html">database schema</a> described in the API documentation.
Create a new instance of DbModel with the given $modelURI and load the corresponding values of modelID and baseURI from the database.
Return FALSE if the DbModel does not exist.
Create a new instance of DbModel with the given $modelURI and insert the DbModel variables into the database.
Return FALSE if there is already a model with the given URI.
Checks if tables are setup for RAP
Check if the DbModel with the given modelURI is already stored in the database
Store a MemModel or another DbModel from a different DbStore in the database.
Return FALSE if there is already a model with modelURI matching the modelURI of the given model.
Inherited From Object
Object::toString()
Documentation generated on Fri, 17 Dec 2004 16:14:39 +0100 by phpDocumentor 1.3.0RC3