public function fetch() { try { return $this->rs->fetch(); } catch (Exception $pdoe) { API_DB_Exception::handle($pdoe); } }
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); }
public function quoteString($str) { try { return $this->pdo->quote($str); } catch (Exception $pdoe) { API_DB_Exception::handle($pdoe); } }