MediaWiki  REL1_22
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 1004 of file DatabaseMssql.php.


Constructor & Destructor Documentation

MssqlResult::__construct ( queryresult = false)

Definition at line 1006 of file DatabaseMssql.php.

References array(), and as.


Member Function Documentation

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

Definition at line 1028 of file DatabaseMssql.php.

References $key, $value, as, and empty.

Referenced by fetch().

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

Definition at line 1042 of file DatabaseMssql.php.

References $ret, $value, array(), array_to_obj(), and as.

Definition at line 1089 of file DatabaseMssql.php.

Definition at line 1094 of file DatabaseMssql.php.

References as.

Definition at line 1199 of file DatabaseMssql.php.

MssqlResult::get ( pos,
fld 
)

Definition at line 1073 of file DatabaseMssql.php.

Definition at line 1085 of file DatabaseMssql.php.

Definition at line 1077 of file DatabaseMssql.php.

MssqlResult::seek ( iRow)

Definition at line 1081 of file DatabaseMssql.php.


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