MediaWiki  1.34.4
IResultWrapper.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Wikimedia\Rdbms;
4 
5 use Iterator;
6 use stdClass;
7 
24 interface IResultWrapper extends Iterator {
30  public function numRows();
31 
40  public function fetchObject();
41 
49  public function fetchRow();
50 
57  public function seek( $pos );
58 
65  public function free();
66 
70  public function current();
71 
75  public function key();
76 
81  function next();
82 }
Wikimedia\Rdbms\IResultWrapper\fetchRow
fetchRow()
Fetch the next row from the given result object, in associative array form.
Wikimedia\Rdbms
Definition: ChronologyProtector.php:24
Wikimedia\Rdbms\IResultWrapper\next
next()
Wikimedia\Rdbms\IResultWrapper
Result wrapper for grabbing data queried from an IDatabase object.
Definition: IResultWrapper.php:24
Wikimedia\Rdbms\IResultWrapper\fetchObject
fetchObject()
Fetch the next row from the given result object, in object form.
Wikimedia\Rdbms\IResultWrapper\key
key()
Wikimedia\Rdbms\IResultWrapper\current
current()
Wikimedia\Rdbms\IResultWrapper\numRows
numRows()
Get the number of rows in a result object.
Wikimedia\Rdbms\IResultWrapper\seek
seek( $pos)
Change the position of the cursor in a result object.
Wikimedia\Rdbms\IResultWrapper\free
free()
Free a result object.