MediaWiki  REL1_21
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 995 of file DatabaseMssql.php.


Constructor & Destructor Documentation

MssqlResult::__construct ( queryresult = false)

Definition at line 997 of file DatabaseMssql.php.

References array(), and as.


Member Function Documentation

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

Definition at line 1019 of file DatabaseMssql.php.

References $value, as, and empty.

Referenced by fetch().

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

Definition at line 1033 of file DatabaseMssql.php.

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

Definition at line 1080 of file DatabaseMssql.php.

Definition at line 1085 of file DatabaseMssql.php.

References as.

Definition at line 1131 of file DatabaseMssql.php.

MssqlResult::get ( pos,
fld 
)

Definition at line 1064 of file DatabaseMssql.php.

Definition at line 1076 of file DatabaseMssql.php.

Definition at line 1068 of file DatabaseMssql.php.

MssqlResult::seek ( iRow)

Definition at line 1072 of file DatabaseMssql.php.


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