object Model_MDB getModel(
string
$modelURI)
|
|
Create a new instance of Model_MDB with the given $modelURI and load the corresponding values of modelID and baseURI from the database.
Return FALSE if the Model_MDB does not exist.
Parameters:
object Model_MDB getNewModel(
string
$modelURI, [string
$baseURI = null])
|
|
Create a new instance of Model_MDB with the given $modelURI and insert the Model_MDB variables into the database.
Return FALSE if there is already a model with the given URI.
Parameters:
boolean putModel(
object Model
&$model, [string
$modelURI = null])
|
|
Store a Model_Memory or another Model_MDB from a different Store_MDB in the database.
Return FALSE if there is already a model with modelURI matching the modelURI of the given model.
Parameters:
integer _createUniqueModelID(
)
|
|
Create a unique ID for the Model_MDB to be insert into the models table.
This method was implemented because some databases do not support auto-increment.