ADODB_ado Class Reference

Inheritance diagram for ADODB_ado:

Inheritance graph
[legend]
Collaboration diagram for ADODB_ado:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ADODB_ado ()
 ServerInfo ()
 _affectedrows ()
 _connect ($argHostname, $argUsername, $argPassword, $argProvider= 'MSDASQL')
 _pconnect ($argHostname, $argUsername, $argPassword, $argProvider='MSDASQL')
MetaTables ()
MetaColumns ($table)
_query ($sql, $inputarr=false)
 BeginTrans ()
 CommitTrans ($ok=true)
 RollbackTrans ()
 ErrorMsg ()
 ErrorNo ()
 _close ()
 ADODB_ado ()
 ServerInfo ()
 _affectedrows ()
 _connect ($argHostname, $argUsername, $argPassword, $argDBorProvider, $argProvider= '')
 _pconnect ($argHostname, $argUsername, $argPassword, $argProvider='MSDASQL')
MetaTables ()
MetaColumns ($table)
_query ($sql, $inputarr=false)
 BeginTrans ()
 CommitTrans ($ok=true)
 RollbackTrans ()
 ErrorMsg ()
 ErrorNo ()
 _close ()

Public Attributes

 $databaseType = "ado"
 $_bindInputArray = false
 A boolean variable to state whether its a persistent connection or normal connection. */.
 $fmtDate = "'Y-m-d'"
 uppercase function
 $fmtTimeStamp = "'Y-m-d, h:i:sA'"
 used by DBDate() as the default date format used by the database
 $replaceQuote = "''"
 string that represents FALSE for a database
 $dataProvider = "ado"
 $hasAffectedRows = true
 supports autoincrement ID?
 $adoParameterType = 201
 $_affectedRows = false
 $_thisTransactions
 $_cursor_type = 3
 $_cursor_location = 3
 $_lock_type = -1
 $_execute_option = -1
 $poorAffectedRows = true
 $charPage


Detailed Description

Definition at line 22 of file adodb-ado.inc.php.


Member Function Documentation

ADODB_ado.ADODB_ado (  ) 

ADODB_ado.ServerInfo (  ) 

Get server version info...

Returns:
An array with 2 elements: $arr['string'] is the description string, and $arr[version] is the version (also a string).

Reimplemented from ADOConnection.

Definition at line 45 of file adodb-ado.inc.php.

ADODB_ado._affectedrows (  ) 

Reimplemented in ADODB_ado_mssql.

Definition at line 51 of file adodb-ado.inc.php.

References PHP_VERSION.

ADODB_ado._connect ( argHostname,
argUsername,
argPassword,
argProvider = 'MSDASQL' 
)

Definition at line 61 of file adodb-ado.inc.php.

References $p, debug, and ADOConnection.outp().

Referenced by _pconnect().

Here is the call graph for this function:

ADODB_ado._pconnect ( argHostname,
argUsername,
argPassword,
argProvider = 'MSDASQL' 
)

Definition at line 103 of file adodb-ado.inc.php.

References _connect().

Here is the call graph for this function:

& ADODB_ado.MetaTables (  ) 

Definition at line 150 of file adodb-ado.inc.php.

References $arr, and $t.

& ADODB_ado.MetaColumns ( table  ) 

Reimplemented in ADODB_ado_mssql.

Definition at line 172 of file adodb-ado.inc.php.

References $arr, ADOConnection.$false, and $t.

& ADODB_ado._query ( sql,
inputarr = false 
)

Definition at line 207 of file adodb-ado.inc.php.

References ADOConnection.$false, $p, $rs, $sql, ADOConnection.$true, and $val.

ADODB_ado.BeginTrans (  ) 

Begin a Transaction. Must be followed by CommitTrans() or RollbackTrans().

Returns:
true if succeeded or false if database does not support transactions

Reimplemented from ADOConnection.

Reimplemented in ADODB_ado_access.

Definition at line 251 of file adodb-ado.inc.php.

ADODB_ado.CommitTrans ( ok = true  ) 

If database does not support transactions, always return true as data always commited

Parameters:
$ok set to false to rollback transaction, true to commit
Returns:
true/false.

Reimplemented from ADOConnection.

Definition at line 267 of file adodb-ado.inc.php.

References $ok, and RollbackTrans().

Here is the call graph for this function:

ADODB_ado.RollbackTrans (  ) 

If database does not support transactions, rollbacks always fail, so return false

Returns:
true/false.

Reimplemented from ADOConnection.

Reimplemented in ADODB_ado_access.

Definition at line 276 of file adodb-ado.inc.php.

Referenced by CommitTrans().

ADODB_ado.ErrorMsg (  ) 

Returns:
the last error message

Reimplemented from ADOConnection.

Definition at line 285 of file adodb-ado.inc.php.

ADODB_ado.ErrorNo (  ) 

Returns:
the last error number. Normally 0 means no error.

Reimplemented from ADOConnection.

Definition at line 295 of file adodb-ado.inc.php.

ADODB_ado._close (  ) 

Definition at line 304 of file adodb-ado.inc.php.

ADODB_ado.ADODB_ado (  ) 

Definition at line 40 of file adodb-ado5.inc.php.

ADODB_ado.ServerInfo (  ) 

Get server version info...

Returns:
An array with 2 elements: $arr['string'] is the description string, and $arr[version] is the version (also a string).

Reimplemented from ADOConnection.

Definition at line 45 of file adodb-ado5.inc.php.

ADODB_ado._affectedrows (  ) 

Reimplemented in ADODB_ado_mssql.

Definition at line 51 of file adodb-ado5.inc.php.

References PHP_VERSION.

ADODB_ado._connect ( argHostname,
argUsername,
argPassword,
argDBorProvider,
argProvider = '' 
)

Definition at line 61 of file adodb-ado5.inc.php.

References $p, debug, and ADOConnection.outp().

Here is the call graph for this function:

ADODB_ado._pconnect ( argHostname,
argUsername,
argPassword,
argProvider = 'MSDASQL' 
)

Definition at line 126 of file adodb-ado5.inc.php.

References _connect().

Here is the call graph for this function:

& ADODB_ado.MetaTables (  ) 

Definition at line 173 of file adodb-ado5.inc.php.

References $arr, and $t.

& ADODB_ado.MetaColumns ( table  ) 

Reimplemented in ADODB_ado_mssql.

Definition at line 195 of file adodb-ado5.inc.php.

References $arr, and $t.

& ADODB_ado._query ( sql,
inputarr = false 
)

Definition at line 227 of file adodb-ado5.inc.php.

References ADOConnection.$false, $p, $rs, $sql, ADOConnection.$true, and $val.

ADODB_ado.BeginTrans (  ) 

Begin a Transaction. Must be followed by CommitTrans() or RollbackTrans().

Returns:
true if succeeded or false if database does not support transactions

Reimplemented from ADOConnection.

Reimplemented in ADODB_ado_access.

Definition at line 279 of file adodb-ado5.inc.php.

ADODB_ado.CommitTrans ( ok = true  ) 

If database does not support transactions, always return true as data always commited

Parameters:
$ok set to false to rollback transaction, true to commit
Returns:
true/false.

Reimplemented from ADOConnection.

Definition at line 294 of file adodb-ado5.inc.php.

References $ok, and RollbackTrans().

Here is the call graph for this function:

ADODB_ado.RollbackTrans (  ) 

If database does not support transactions, rollbacks always fail, so return false

Returns:
true/false.

Reimplemented from ADOConnection.

Reimplemented in ADODB_ado_access.

Definition at line 303 of file adodb-ado5.inc.php.

ADODB_ado.ErrorMsg (  ) 

Returns:
the last error message

Reimplemented from ADOConnection.

Definition at line 312 of file adodb-ado5.inc.php.

ADODB_ado.ErrorNo (  ) 

Returns:
the last error number. Normally 0 means no error.

Reimplemented from ADOConnection.

Definition at line 328 of file adodb-ado5.inc.php.

ADODB_ado._close (  ) 

Definition at line 337 of file adodb-ado5.inc.php.


Member Data Documentation

ADODB_ado.$databaseType = "ado"

Reimplemented from ADOConnection.

Reimplemented in ADODB_ado_access, and ADODB_ado_mssql.

Definition at line 23 of file adodb-ado.inc.php.

ADODB_ado.$_bindInputArray = false

A boolean variable to state whether its a persistent connection or normal connection. */.

Reimplemented from ADOConnection.

Definition at line 24 of file adodb-ado.inc.php.

ADODB_ado.$fmtDate = "'Y-m-d'"

uppercase function

Reimplemented from ADOConnection.

Reimplemented in ADODB_ado_access.

Definition at line 25 of file adodb-ado.inc.php.

ADODB_ado.$fmtTimeStamp = "'Y-m-d, h:i:sA'"

used by DBDate() as the default date format used by the database

Reimplemented from ADOConnection.

Reimplemented in ADODB_ado_access.

Definition at line 26 of file adodb-ado.inc.php.

ADODB_ado.$replaceQuote = "''"

string that represents FALSE for a database

Reimplemented from ADOConnection.

Definition at line 27 of file adodb-ado.inc.php.

ADODB_ado.$dataProvider = "ado"

Reimplemented from ADOConnection.

Definition at line 28 of file adodb-ado.inc.php.

ADODB_ado.$hasAffectedRows = true

supports autoincrement ID?

Reimplemented from ADOConnection.

Definition at line 29 of file adodb-ado.inc.php.

ADODB_ado.$adoParameterType = 201

Definition at line 30 of file adodb-ado.inc.php.

ADODB_ado.$_affectedRows = false

Definition at line 31 of file adodb-ado.inc.php.

ADODB_ado.$_thisTransactions

Definition at line 32 of file adodb-ado.inc.php.

ADODB_ado.$_cursor_type = 3

Definition at line 33 of file adodb-ado.inc.php.

ADODB_ado.$_cursor_location = 3

Definition at line 34 of file adodb-ado.inc.php.

ADODB_ado.$_lock_type = -1

Definition at line 35 of file adodb-ado.inc.php.

ADODB_ado.$_execute_option = -1

Definition at line 36 of file adodb-ado.inc.php.

ADODB_ado.$poorAffectedRows = true

Reimplemented from ADOConnection.

Definition at line 37 of file adodb-ado.inc.php.

ADODB_ado.$charPage

Definition at line 38 of file adodb-ado.inc.php.


The documentation for this class was generated from the following files:
This documentation is part of typo3-unleashed.net.
It's an automatically created code documentation of the TYPO3 Content Management System.
Created with doxygen