MediaWiki
REL1_21
|
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...
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) |
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.
MssqlResult::__construct | ( | $ | queryresult = false | ) |
Definition at line 997 of file DatabaseMssql.php.
MssqlResult::array_to_obj | ( | $ | array, |
&$ | obj | ||
) | [private] |
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.
MssqlResult::fieldname | ( | $ | nr | ) |
Definition at line 1080 of file DatabaseMssql.php.
MssqlResult::fieldtype | ( | $ | nr | ) |
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.