MediaWiki  REL1_19
MssqlResult Class Reference

The MSSQL PHP driver doesn't support sqlsrv_num_rows, so we recall all rows into an array and maintain our own cursor index into that array...This is similar to the way the Oracle driver handles this same issue. More...

List of all members.

Public Member Functions

 __construct ($queryresult=false)
 fetch ($mode=SQLSRV_FETCH_BOTH, $object_class= 'stdClass')
 fieldname ($nr)
 fieldtype ($nr)
 free ()
 get ($pos, $fld)
 numfields ()
 numrows ()
 seek ($iRow)

Private Member Functions

 array_to_obj ($array, &$obj)

Detailed Description

The MSSQL PHP driver doesn't support sqlsrv_num_rows, so we recall all rows into an array and maintain our own cursor index into that array...This is similar to the way the Oracle driver handles this same issue.

Definition at line 966 of file DatabaseMssql.php.


Constructor & Destructor Documentation

MssqlResult::__construct ( queryresult = false)

Definition at line 968 of file DatabaseMssql.php.

References $rows.


Member Function Documentation

MssqlResult::array_to_obj ( array,
&$  obj 
) [private]

Definition at line 990 of file DatabaseMssql.php.

Referenced by fetch().

Here is the caller graph for this function:

MssqlResult::fetch ( mode = SQLSRV_FETCH_BOTH,
object_class = 'stdClass' 
)

Definition at line 1004 of file DatabaseMssql.php.

References array_to_obj().

Here is the call graph for this function:

Definition at line 1051 of file DatabaseMssql.php.

Definition at line 1056 of file DatabaseMssql.php.

Definition at line 1102 of file DatabaseMssql.php.

MssqlResult::get ( pos,
fld 
)

Definition at line 1035 of file DatabaseMssql.php.

Definition at line 1047 of file DatabaseMssql.php.

Definition at line 1039 of file DatabaseMssql.php.

MssqlResult::seek ( iRow)

Definition at line 1043 of file DatabaseMssql.php.


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