/** * PDOStatement Constructor * * @param Next\DB\Statement\Statement $adapter * Statement Adapter */ private function __construct(StatementInterface $adapter) { $adapter->setStatement($this); $this->adapter =& $adapter; }
/** * 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(); }