MediaWiki
fundraising/REL1_35
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
37
public
function
count
(): int;
38
47
public
function
fetchObject
();
48
56
public
function
fetchRow
();
57
64
public
function
seek
( $pos ): void;
65
72
public
function
free
();
73
77
#[\ReturnTypeWillChange]
78
public
function
current
();
79
83
public
function
key
(): int;
84
89
#[\ReturnTypeWillChange]
90
public
function
next
();
91
}
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\fetchRow
fetchRow()
Fetch the next row from the given result object, in associative array form.
Wikimedia\Rdbms\IResultWrapper\next
next()
Wikimedia\Rdbms\IResultWrapper\key
key()
Wikimedia\Rdbms\IResultWrapper\free
free()
Free a result object.
Wikimedia\Rdbms\IResultWrapper\count
count()
Get the number of rows in a result object.
Wikimedia\Rdbms\IResultWrapper\numRows
numRows()
Get the number of rows in a result object.
Wikimedia\Rdbms\IResultWrapper\current
current()
Wikimedia\Rdbms\IResultWrapper\seek
seek( $pos)
Change the position of the cursor in a result object.
Wikimedia\Rdbms
Definition
ChronologyProtector.php:24
includes
libs
rdbms
database
resultwrapper
IResultWrapper.php
Generated on Mon Nov 25 2024 16:15:07 for MediaWiki by
1.10.0