Exemple #1
0
 /**
  * PDOStatement Constructor
  *
  * @param Next\DB\Statement\Statement $adapter
  *   Statement Adapter
  */
 private function __construct(StatementInterface $adapter)
 {
     $adapter->setStatement($this);
     $this->adapter =& $adapter;
 }
Exemple #2
0
 /**
  * Closes the cursor
  *
  * This enables the statement to be executed again
  *
  * @return boolean
  *   TRUE on success and FALSE otherwise
  */
 public function closeCursor()
 {
     return $this->adapter->closeCursor();
 }