* @package mssql */ class MSSQLAzureDatabase extends MSSQLDatabase { protected $fullTextEnabled = false; public function __construct($parameters) { $this->mssql = false; $connectionInfo = array( 'Database' => $parameters['database'], 'UID' => $parameters['username'], 'PWD' => $parameters['password'], 'MultipleActiveResultSets' => '0' ); $this->dbConn = sqlsrv_connect($parameters['server'], $connectionInfo); if(!$this->dbConn) { $this->databaseError("Couldn't connect to MS SQL database"); } else { $this->database = $parameters['database']; $this->active = true; $this->fullTextEnabled = false; // Configure the connection $this->query('SET QUOTED_IDENTIFIER ON'); $this->query('SET TEXTSIZE 2147483647'); } } }