Abstract Class JModelDatabase

Description

Joomla Platform Database Model Class

  • abstract:
  • since: 12.1

Located in /libraries/joomla/model/database.php (line 19)

JModelBase
   |
   --JModelDatabase
Direct descendents
Class Description
Abstract class ConfigModelCms Prototype admin model.
Variable Summary
Method Summary
 JModelDatabase __construct ([JRegistry $state = null], [JDatabaseDriver $db = null])
 void setDb (JDatabaseDriver $db)
Variables
JDatabaseDriver $db (line 27)

The database driver.

  • since: 12.1
  • access: protected

Inherited Variables

Inherited from JModelBase

JModelBase::$state
Methods
Constructor __construct (line 37)

Instantiate the model.

  • since: 12.1
  • access: public
JModelDatabase __construct ([JRegistry $state = null], [JDatabaseDriver $db = null])

Redefinition of:
JModelBase::__construct()
Instantiate the model.

Redefined in descendants as:
getDb (line 52)

Get the database driver.

  • return: The database driver.
  • since: 12.1
  • access: public
JDatabaseDriver getDb ()
loadDb (line 78)

Load the database driver.

  • return: The database driver.
  • since: 12.1
  • access: protected
JDatabaseDriver loadDb ()
setDb (line 66)

Set the database driver.

  • since: 12.1
  • access: public
void setDb (JDatabaseDriver $db)

Inherited Methods

Inherited From JModelBase

 JModelBase::__construct()
 JModelBase::getState()
 JModelBase::loadState()
 JModelBase::setState()

Documentation generated on Tue, 19 Nov 2013 14:57:46 +0100 by phpDocumentor 1.4.3