JDatabaseFactory::getQuery
Get the current query object or a new JDatabaseQuery object.
Signature
public function getQuery(string
$name,
[JDatabaseDriver
$db = null] )
Parameters
-
$name
- Name of the driver you want an query object for.
-
$db
- Optional JDatabaseDriver instance
Returns
- JDatabaseQuery
- The current query object or a new object extending the JDatabaseQuery class.