\JModelDatabase
Joomla Platform Database Model Class
Synopsis
class JModelDatabase
extends JModelBase
{
- // members
- protected JDatabaseDriver $db;
- // Inherited members from JModelBase
- protected JRegistry $state;
- // methods
- public void __construct()
- public JDatabaseDriver getDb()
- public void setDb()
- protected JDatabaseDriver loadDb()
- // Inherited methods from JModelBase
- public void __construct()
- public JRegistry getState()
- public void setState()
- protected JRegistry loadState()
Hierarchy
Extends
Extended by
Members
protected
- $db
—
JDatabaseDriver
The database driver. - $state
—
JRegistry
The model state.
Methods
protected
- loadDb() — Load the database driver.
public
- __construct() — Instantiate the model.
- getDb() — Get the database driver.
- setDb() — Set the database driver.
Inherited from JModelBase
protected
- loadState() — Load the model state.
public
- getState() — Get the model state.
- setState() — Set the model state.