O'Reilly logo

Mastering Joomla! 1.5 Extension and Framework Development by Chuck Lanham, James Kennard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JDatabase

abstract, extends JObject , located in / joomla/database/database.php

This is the base database connector class. There are two core subclasses (sometimes called drivers or adapters), JDatabaseMySQL and JDatabaseMySQLi. Additional subclasses, enabling support for other database servers may be included with future releases of Joomla!. For more information about the JDatabase class refer to Chapter 3, The Database.

Direct descendents

JDatabaseMySQL

MySQL database driver

JDatabaseMySQLi

MySQLi database driver

Properties

string $name

Database driver name

mixed $_cursor

Result of last mysql_query() call

boolean $_debug

Debug mode: 0=disabled, 1=enabled

string $_errorMsg

Error message from last query

integer $_errorNum

Error ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required