Class: DB_ado
Source Location: /DB_ado-1.3.1/ado.php
Inherited Variables
|
Inherited Methods
|
Class Details
[line 56]
Class Variables
Method Detail
DB_ado (Constructor) [line 184]
DB_ado constructor. Visit http://support.microsoft.com/default.aspx?scid=kb;EN-US;q168354 for $errorcode_map
adoIsError [line 832]
boolean adoIsError(
none
0)
|
|
Checking if an ADODB.Connection error occured
Parameters:
adoRaiseError [line 796]
void adoRaiseError(
[integer
$errno = null])
|
|
Raise an error and set as param nativecode on raiseError() result-string of errorNative()
Parameters:
adoRaiseErrorEx [line 813]
void adoRaiseErrorEx(
[integer
$errno = null])
|
|
Raise an error and set as param nativecode on raiseError() result-string of errorNative()
Parameters:
adoTrans [line 651]
mixed adoTrans(
boolean
$onoff)
|
|
Checking of transaction support by OLEDB-Provider. Normally the startpoint of an transaction will be set here
Parameters:
affectedRows [line 525]
Gets the number of rows affected by the last manip query.
autoCommit [line 633]
boolean autoCommit(
[boolean
$onoff = false])
|
|
Enable automatic commit.
Parameters:
commit [line 682]
Starts a commit
Parameters:
connect [line 235]
mixed connect(
$dsn
$dsninfo, [$persistent
$persistent = false])
|
|
Connect to a database and log in as the specified user.
Parameters:
createSequence [line 571]
void createSequence(
$seq_name)
|
|
Parameters:
disconnect [line 286]
Close ADODB.Recordset, ADODB.Connection and delete vars to free memory.
dropSequence [line 593]
void dropSequence(
$seq_name)
|
|
Parameters:
errorNative [line 767]
Get the native error code of the last error (if any) that occured on the current ADODB.Connection
errorNativeEx [line 728]
Get the extended error collection of the current ADODB.Connection
fetchInto [line 398]
mixed fetchInto(
object
$result,
&$arr, integer
$fetchmode, [integer
$rownum = null], array
$arr)
|
|
Fetch and return a row of current ADODB.Recordset. Internally we do some important transformations for right php result. Take a look at ADODB.DataTypeEnum for details.
Parameters:
freeResult [line 613]
boolean freeResult(
object
$result)
|
|
Free the internal resources associated with $result (basicly it means close recordset)
Parameters:
getProvider [line 1237]
getVersion [line 1222]
isTypeOfBinary [line 1253]
boolean isTypeOfBinary(
integer
$value)
|
|
Checks if field is a binary type
Parameters:
isTypeOfBit [line 1269]
boolean isTypeOfBit(
integer
$value)
|
|
Checks if field is a bit type
Parameters:
isTypeOfChar [line 1285]
boolean isTypeOfChar(
integer
$value)
|
|
Checks if field is a char type
Parameters:
isTypeOfCurrency [line 1410]
boolean isTypeOfCurrency(
integer
$value)
|
|
Checks if field is a currency type (which is not supported by php)
Parameters:
isTypeOfDate [line 1303]
boolean isTypeOfDate(
integer
$value)
|
|
Checks if field is a date type
Parameters:
isTypeOfDecimal [line 1318]
boolean isTypeOfDecimal(
integer
$value)
|
|
Checks if field is a decimal type
Parameters:
isTypeOfDouble [line 1348]
boolean isTypeOfDouble(
integer
$value)
|
|
Checks if field is a double type
Parameters:
isTypeOfFloat [line 1363]
boolean isTypeOfFloat(
integer
$value)
|
|
Checks if field is a float type
Parameters:
isTypeOfInteger [line 1393]
boolean isTypeOfInteger(
integer
$value)
|
|
Checks if field is a integer type
Parameters:
isTypeOfNumeric [line 1333]
boolean isTypeOfNumeric(
integer
$value)
|
|
Checks if field is a numeric type
Parameters:
isTypeOfReal [line 1378]
boolean isTypeOfReal(
integer
$value)
|
|
Checks if field is a real type
Parameters:
isTypeOfTime [line 1425]
boolean isTypeOfTime(
integer
$value)
|
|
Checks if field is a time type
Parameters:
isTypeOfTimestamp [line 1440]
boolean isTypeOfTimestamp(
integer
$value)
|
|
Checks if field is a timestamp type
Parameters:
nextId [line 541]
mixed nextId(
$seq_name
$seq_name, [$ondemand
$ondemand = true])
|
|
Get the next value in a sequence. Depends on $dbsyntax which type we use
Parameters:
nextResult [line 376]
void nextResult(
object (reference)
$result)
|
|
Move the internal ADODB.Recordset result pointer to the next available result.
Parameters:
numCols [line 486]
integer numCols(
object
$result)
|
|
Get the number of columns in a recordset.
Parameters:
numRows [line 507]
integer numRows(
object
$result)
|
|
Get the number of rows in a ADODB.Recordset. Note: If cursor type supports does not support RecordCount, the result is always adUnknown = -1.
Parameters:
rollback [line 706]
boolean rollback(
none
0)
|
|
Starts a rollback
Parameters:
setCursorLocation [line 923]
boolean setCursorLocation(
[integer
$value = 3])
|
|
Set the cursor location for ADODB.Connection CursorLocationEnum adUseServer = 2 adUseClient = 3
Parameters:
setCursorType [line 899]
boolean setCursorType(
[integer
$value = -1])
|
|
Set the cursor type for ADODB.Recordset. Only for catching records. Notes: Use adOpenKeyset = 1 or adOpenstatic = 3 to get a value > 0 of numRows(). CursorTypeEnum adOpenUnspecified = -1 adOpenForwardOnly = 0 adOpenKeyset = 1 adOpenDynamic = 2 adOpenStatic = 3
Parameters:
setExecuteOption [line 860]
boolean setExecuteOption(
[integer
$value = -1])
|
|
Set execute option for ADODB.Connection. Only for manip queries. CommandTypeEnum adCmdText = 1 adCmdTable = 2 adCmdStoredProc = 4 adCmdUnknown = 8 adCmdFile = 256 adCmdTableDirect = 512
Parameters:
setLockType [line 950]
boolean setLockType(
[integer
$value = -1])
|
|
Set the lock type for ADODB.Recordset. Only for catching records. LockTypeEnum adLockUnspecified = -1 adLockReadOnly = 1 adLockPessimistic = 2 adLockOptimistic = 3 adLockBatchOptimistic = 4
Parameters:
setMaxRecords [line 973]
boolean setMaxRecords(
[integer
$value = 0])
|
|
Setting of MaxRecords to get only xx records on every query Note: msdn-article (Q186267) "PRB: MaxRecords Property Is Not Used in Access Queries with ADO"
Parameters:
simpleQuery [line 319]
mixed simpleQuery(
string
$query)
|
|
Sending a query through ADODB.Connection and recieve ADO.Recordset as result. For manip queries we use ADODB.Connection execute method instead of ADO.Recordset open method.
Parameters:
tableInfo [line 1053]
void tableInfo(
$result, [
$mode = null])
|
|
Parameters:
Documentation generated on Mon, 11 Mar 2019 15:29:19 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|