public static function DatabaseUtils::GetConfigBoolean in Drupal driver for SQL Server and SQL Azure 7.2
Same name and namespace in other branches
- 7.3 sqlsrv/utils.inc \DatabaseUtils::GetConfigBoolean()
3 calls to DatabaseUtils::GetConfigBoolean()
- DatabaseConnection_sqlsrv::PDOPrepare in sqlsrv/
database.inc - Internal function: prepare a query by calling PDO directly.
- DatabaseConnection_sqlsrv::__construct in sqlsrv/
database.inc - Override of DatabaseConnection::databaseType().
- SelectQuery_sqlsrv::preExecute in sqlsrv/
select.inc - Override for SelectQuery::preExecute().
File
- sqlsrv/
utils.inc, line 88
Class
Code
public static function GetConfigBoolean($name, $default = FALSE) {
global $conf;
// Isolation level.
if (isset($conf[$name])) {
$value = $conf[$name];
if (is_bool($value)) {
return $value;
}
}
return FALSE;
}