MediaWiki REL1_33
Wikimedia\Rdbms\MssqlResultWrapper Class Reference
Inheritance diagram for Wikimedia\Rdbms\MssqlResultWrapper:
Collaboration diagram for Wikimedia\Rdbms\MssqlResultWrapper:

Public Member Functions

 fetchObject ()
 
 fetchRow ()
 
 seek ( $row)
 
- Public Member Functions inherited from Wikimedia\Rdbms\ResultWrapper
 __construct (IDatabase $db=null, $result)
 Create a row iterator from a result resource and an optional Database object.
 
 current ()
 
 free ()
 Free a result object.
 
 key ()
 
 next ()
 
 numRows ()
 Get the number of rows in a result object.
 
 rewind ()
 
 valid ()
 

Private Attributes

int null $seekTo = null
 

Additional Inherited Members

- Public Attributes inherited from Wikimedia\Rdbms\ResultWrapper
resource array null $result
 Optional underlying result handle for subclass usage.
 
- Protected Attributes inherited from Wikimedia\Rdbms\ResultWrapper
stdClass null $currentRow = null
 
IDatabase null $db
 
int $pos = 0
 

Detailed Description

Definition at line 7 of file MssqlResultWrapper.php.

Member Function Documentation

◆ fetchObject()

Wikimedia\Rdbms\MssqlResultWrapper::fetchObject ( )
Returns
stdClass|bool

Reimplemented from Wikimedia\Rdbms\ResultWrapper.

Definition at line 14 of file MssqlResultWrapper.php.

References $res, Wikimedia\Rdbms\ResultWrapper\$result, and and().

◆ fetchRow()

Wikimedia\Rdbms\MssqlResultWrapper::fetchRow ( )
Returns
array|bool

Reimplemented from Wikimedia\Rdbms\ResultWrapper.

Definition at line 36 of file MssqlResultWrapper.php.

References $res, Wikimedia\Rdbms\ResultWrapper\$result, and and().

◆ seek()

Wikimedia\Rdbms\MssqlResultWrapper::seek ( $row)
Parameters
int$row
Returns
bool

Reimplemented from Wikimedia\Rdbms\ResultWrapper.

Definition at line 59 of file MssqlResultWrapper.php.

References $res, Wikimedia\Rdbms\ResultWrapper\$result, and and().

Member Data Documentation

◆ $seekTo

int null Wikimedia\Rdbms\MssqlResultWrapper::$seekTo = null
private

Definition at line 9 of file MssqlResultWrapper.php.


The documentation for this class was generated from the following file: