コード例 #1
0
 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");
 }
コード例 #2
0
 public function __construct($strQueryType)
 {
     $strQueryType ? $this->strQueryType = $strQueryType : null;
     parent::__construct("Unsupported Query Type ({$strQueryType})");
 }
コード例 #3
0
 public function __construct($strDatabaseName)
 {
     $this->strDatabaseName = $strDatabaseName;
     parent::__construct("Database select failed");
 }
コード例 #4
0
 public function __construct($strHost)
 {
     $this->strHost = $strHost;
     parent::__construct("Database connection failed");
 }