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