public function __construct($strQuery = null, $strQueryType = null, $strError = null) { $strQuery ? $this->strQuery = $strQuery : null; $strError ? $this->strError = $strError : null; $strQueryType ? $this->strQueryType = $strQueryType : null; parent::__construct("Statement Failed"); }
public function __construct($strQueryType) { $strQueryType ? $this->strQueryType = $strQueryType : null; parent::__construct("Unsupported Query Type ({$strQueryType})"); }
public function __construct($strDatabaseName) { $this->strDatabaseName = $strDatabaseName; parent::__construct("Database select failed"); }
public function __construct($strHost) { $this->strHost = $strHost; parent::__construct("Database connection failed"); }