MediaWiki REL1_32
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, and Wikimedia\Rdbms\ResultWrapper\$result.

◆ fetchRow()

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

Reimplemented from Wikimedia\Rdbms\ResultWrapper.

Definition at line 36 of file MssqlResultWrapper.php.

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

◆ 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, and Wikimedia\Rdbms\ResultWrapper\$result.

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: