Documentation TYPO3 par Ameos

ADODB_ado Class Reference

Inheritance diagram for ADODB_ado:
[legend]
Collaboration diagram for ADODB_ado:
[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::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::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 RollbackTrans().

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::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::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 RollbackTrans().

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.


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


Généré par TYPO3 Ameos avec  doxygen 1.4.6