Class JDatabaseFactory
Joomla Platform Database Factory class
Package: Joomla\Platform\Database
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 12.1
Located at joomla/database/factory.php
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 12.1
Located at joomla/database/factory.php
Methods summary
public
|
#
getDriver( string $name = 'mysqli', array $options = array() )
Method to return a JDatabaseDriver instance based on the given options. There are three global options and then the rest are specific to the database driver. The 'database' option determines which database is to be used for the connection. The 'select' option determines whether the connector should automatically select the chosen database. |
public
|
|
public
|
|
public static
|
|
public
|
#
getQuery( string $name,
Get the current query object or a new JDatabaseQuery object. |
public static
|
#
setInstance(
Gets an instance of a factory object to return on subsequent calls of getInstance. |