コード例 #1
0
 public function fetch()
 {
     try {
         return $this->rs->fetch();
     } catch (Exception $pdoe) {
         API_DB_Exception::handle($pdoe);
     }
 }
コード例 #2
0
 public function execute()
 {
     $argZero = func_get_arg(0);
     try {
         if (!func_num_args()) {
             $this->ps->execute();
         } else {
             if (is_array($argZero)) {
                 $this->ps->execute($argZero);
             } else {
                 $this->ps->execute(func_get_args());
             }
         }
     } catch (Exception $pdoe) {
         API_DB_Exception::handle($pdoe);
     }
     return new API_DB_Result_Maria($this->ps);
 }
コード例 #3
0
ファイル: API_DB_Maria.php プロジェクト: hcv-target/redi
 public function quoteString($str)
 {
     try {
         return $this->pdo->quote($str);
     } catch (Exception $pdoe) {
         API_DB_Exception::handle($pdoe);
     }
 }