* @package Mammut\DB\Adapter\SQLite */ class Result extends \Mammut\DB\Result { /** * @var \SQLite3Result */ private $result; public function __construct($result) { $this->result = &$result; } public function getRowNumber() { throw new ImplementationException('not implemented'); } public function getColumnInfo($column) { throw new ImplementationException('not implemented'); } public function getColumnCount() { return $this->result->numColumns(); } public function getColumns() { throw new ImplementationException('not implemented'); } public function getFields() { throw new ImplementationException('not implemented'); } public function getFieldTypes() { throw new ImplementationException('not implemented'); } public function getRowCount() { throw new ImplementationException('not implemented'); } public function fetchRow() { return $this->result->fetchArray(SQLITE3_NUM); } public function fetchArray() { return $this->result->fetchArray(SQLITE3_ASSOC); } public function fetchObject($class = false, $param = array()) { throw new ImplementationException('not implemented'); } public function close() { $this->result->finalize(); } }