MediaWiki  1.28.0
MssqlResultWrapper Class Reference
Inheritance diagram for MssqlResultWrapper:
Collaboration diagram for MssqlResultWrapper:

Public Member Functions

 fetchObject ()
 
 fetchRow ()
 
 seek ($row)
 
- Public Member Functions inherited from ResultWrapper
 __construct (IDatabase $db=null, $result)
 Create a row iterator from a result resource and an optional Database object. More...
 
 current ()
 
 fetchObject ()
 Fetch the next row from the given result object, in object form. More...
 
 fetchRow ()
 Fetch the next row from the given result object, in associative array form. More...
 
 free ()
 Free a result object. More...
 
 key ()
 
 next ()
 
 numRows ()
 Get the number of rows in a result object. More...
 
 rewind ()
 
 seek ($row)
 Change the position of the cursor in a result object. More...
 
 valid ()
 

Private Attributes

integer null $mSeekTo = null
 

Additional Inherited Members

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

Detailed Description

Definition at line 2 of file MssqlResultWrapper.php.

Member Function Documentation

MssqlResultWrapper::fetchObject ( )
Returns
stdClass|bool

Definition at line 9 of file MssqlResultWrapper.php.

References $res, and ResultWrapper\$result.

MssqlResultWrapper::fetchRow ( )
Returns
array|bool

Definition at line 31 of file MssqlResultWrapper.php.

References $res, and ResultWrapper\$result.

MssqlResultWrapper::seek (   $row)
Parameters
int$row
Returns
bool

Definition at line 54 of file MssqlResultWrapper.php.

References $res, and ResultWrapper\$result.

Member Data Documentation

integer null MssqlResultWrapper::$mSeekTo = null
private

Definition at line 4 of file MssqlResultWrapper.php.


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