MediaWiki
REL1_41
IResultWrapper.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Rdbms
;
4
5
use Countable;
6
use OutOfBoundsException;
7
use SeekableIterator;
8
use stdClass;
9
26
interface
IResultWrapper
extends
Countable, SeekableIterator {
32
public
function
numRows
();
33
39
public
function
count
(): int;
40
49
public
function
fetchObject
();
50
58
public
function
fetchRow
();
59
67
public
function
seek
( $pos ): void;
68
75
public
function
free
();
76
80
#[\ReturnTypeWillChange]
81
public
function
current
();
82
86
public
function
key
(): int;
87
91
public
function
next
(): void;
92
99
public
function
getFieldNames
();
100
}
Wikimedia\Rdbms\IResultWrapper
Result wrapper for grabbing data queried from an IDatabase object.
Definition
IResultWrapper.php:26
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\getFieldNames
getFieldNames()
Get the names of the fields in the result.
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:20
includes
libs
rdbms
database
resultwrapper
IResultWrapper.php
Generated on Wed Nov 27 2024 07:23:52 for MediaWiki by
1.10.0