gyro/core/lib/interfaces/idbresultset.cls.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Interface for stepping through DB result set 00004 * 00005 * @author Gerd Riesselmann 00006 * @ingroup Interfaces 00007 */ 00008 interface IDBResultSet { 00009 /** 00010 * Closes internal cursor 00011 * 00012 * @return void 00013 */ 00014 public function close(); 00015 00016 /** 00017 * Returns number of columns in result set 00018 * 00019 * @return int 00020 */ 00021 public function get_column_count(); 00022 00023 /** 00024 * Returns number of rows in result set 00025 * 00026 * @return int 00027 */ 00028 public function get_row_count(); 00029 00030 /** 00031 * Returns row as associative array 00032 * 00033 * @return array 00034 */ 00035 public function fetch(); 00036 00037 /** 00038 * Returns status 00039 * 00040 * @return Status 00041 */ 00042 public function get_status(); 00043 }