DatabaseConnection::getConnectionOptions
public function DatabaseConnection::getConnectionOptions
public DatabaseConnection::getConnectionOptions()
Returns the connection information for this connection object.
Note that Database::getConnectionInfo() is for requesting information about an arbitrary database connection that is defined. This method is for requesting the connection information of this specific open connection object.
Return value
An array of the connection information. The exact list of properties is driver-dependent.
File
- includes/database/database.inc, line 397
- Core systems for the database layer.
Class
- DatabaseConnection
- Base Database API class.
Code
public function getConnectionOptions() { return $this->connectionOptions; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!database.inc/function/DatabaseConnection::getConnectionOptions/7.x