JModelDatabase
Extends \JModelBaseJoomla Platform Database Model Class
abstract deprecated
since |
3.0.0 |
---|---|
deprecated |
4.0 Use the default MVC library |
package |
Joomla.Platform |
Methods
__construct
Instantiate the model.
__construct(\Joomla\Registry\Registry $state = null)
inherited
getDb
Get the database driver.
getDb() : \JDatabaseDriver
getState
Get the model state.
getState() : \Joomla\Registry\Registry
inherited
loadDb
Load the database driver.
loadDb() : \JDatabaseDriver
loadState
Load the model state.
loadState() : \Joomla\Registry\Registry
inherited
setDb
Set the database driver.
setDb(\JDatabaseDriver $db) : void
setState
Set the model state.
setState(\Joomla\Registry\Registry $state) : void
inherited