public static function setLogReturnOutput($archLog)
 {
     ArchLog::set($archLog);
     return $archLog['output'];
 }
예제 #2
0
 /**
  * @param $statement
  * @param array $driver_options
  * @return ArchPDOStatement
  */
 public function prepare($statement, $driver_options = array())
 {
     $this->PDOStatement = new ArchPDOStatement($this->PDO->prepare($statement, $driver_options), $this->queryId);
     $archLog = array('method' => 'PDO::prepare', 'input' => array('statement' => $statement, 'driver_options' => $driver_options), 'output' => 'Object PDOStatement', 'pointer' => $this->assignPointerString());
     ArchLog::set($archLog);
     return $this->PDOStatement;
 }
 /**
  *
  */
 public function debugDumpParams()
 {
     $archLog = array('method' => 'PDOStatement::debugDumpParams', 'input' => array(), 'output' => '', 'pointer' => $this->assignPointerString());
     ArchLog::set($archLog);
     $this->PDOStatement->debugDumpParams();
 }