TYPO3 CMS  TYPO3_7-6
ADODB_pdo Class Reference
Inheritance diagram for ADODB_pdo:
ADODB_pdo_base ADODB_pdo_mssql ADODB_pdo_mysql ADODB_pdo_pgsql ADODB_pdo_sqlite ADODB_pdo_sqlsrv ADODB_pdo_oci

Public Member Functions

 __construct ()
 
 _UpdatePDO ()
 
 Time ()
 
 _connect ($argDSN, $argUsername, $argPassword, $argDatabasename, $persist=false)
 
 Concat ()
 
 _pconnect ($argDSN, $argUsername, $argPassword, $argDatabasename)
 
 SelectLimit ($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs2cache=0)
 
 ServerInfo ()
 
 MetaTables ($ttype=false, $showSchema=false, $mask=false)
 
 MetaColumns ($table, $normalize=true)
 
 InParameter (&$stmt, &$var, $name, $maxLen=4000, $type=false)
 
 OffsetDate ($dayFraction, $date=false)
 
 ErrorMsg ()
 
 ErrorNo ()
 
 SetTransactionMode ($transaction_mode)
 
 BeginTrans ()
 
 CommitTrans ($ok=true)
 
 RollbackTrans ()
 
 Prepare ($sql)
 
 PrepareStmt ($sql)
 
 CreateSequence ($seqname='adodbseq', $startID=1)
 
 DropSequence ($seqname='adodbseq')
 
 GenID ($seqname='adodbseq', $startID=1)
 
 _query ($sql, $inputarr=false)
 
 _close ()
 
 _affectedrows ()
 
 _insertid ()
 

Public Attributes

 $databaseType = "pdo"
 
 $dataProvider = "pdo"
 
 $fmtDate = "'Y-m-d'"
 
 $fmtTimeStamp = "'Y-m-d, h:i:sA'"
 
 $replaceQuote = "''"
 
 $hasAffectedRows = true
 
 $_bindInputArray = true
 
 $_genIDSQL
 
 $_genSeqSQL = "create table %s (id integer)"
 
 $_dropSeqSQL
 
 $_autocommit = true
 
 $_haserrorfunctions = true
 
 $_lastAffectedRows = 0
 
 $_errormsg = false
 
 $_errorno = false
 
 $dsnType = ''
 
 $stmt = false
 
 $_driver
 

Detailed Description

Definition at line 68 of file adodb-pdo.inc.php.

Constructor & Destructor Documentation

◆ __construct()

ADODB_pdo::__construct ( )

Definition at line 90 of file adodb-pdo.inc.php.

Member Function Documentation

◆ _affectedrows()

ADODB_pdo::_affectedrows ( )

Definition at line 501 of file adodb-pdo.inc.php.

◆ _close()

ADODB_pdo::_close ( )

Definition at line 495 of file adodb-pdo.inc.php.

◆ _connect()

ADODB_pdo::_connect (   $argDSN,
  $argUsername,
  $argPassword,
  $argDatabasename,
  $persist = false 
)

Definition at line 132 of file adodb-pdo.inc.php.

References _UpdatePDO().

Referenced by _pconnect().

◆ _insertid()

ADODB_pdo::_insertid ( )

Definition at line 506 of file adodb-pdo.inc.php.

◆ _pconnect()

ADODB_pdo::_pconnect (   $argDSN,
  $argUsername,
  $argPassword,
  $argDatabasename 
)

Definition at line 219 of file adodb-pdo.inc.php.

References _connect().

◆ _query()

ADODB_pdo::_query (   $sql,
  $inputarr = false 
)

Definition at line 451 of file adodb-pdo.inc.php.

References $sql, and $stmt.

◆ _UpdatePDO()

ADODB_pdo::_UpdatePDO ( )

Definition at line 94 of file adodb-pdo.inc.php.

References $_driver.

Referenced by _connect().

◆ BeginTrans()

ADODB_pdo::BeginTrans ( )

Definition at line 336 of file adodb-pdo.inc.php.

◆ CommitTrans()

ADODB_pdo::CommitTrans (   $ok = true)

Definition at line 355 of file adodb-pdo.inc.php.

References RollbackTrans().

◆ Concat()

ADODB_pdo::Concat ( )

Definition at line 205 of file adodb-pdo.inc.php.

◆ CreateSequence()

ADODB_pdo::CreateSequence (   $seqname = 'adodbseq',
  $startID = 1 
)

Definition at line 422 of file adodb-pdo.inc.php.

◆ DropSequence()

ADODB_pdo::DropSequence (   $seqname = 'adodbseq')

Definition at line 431 of file adodb-pdo.inc.php.

◆ ErrorMsg()

ADODB_pdo::ErrorMsg ( )

Definition at line 269 of file adodb-pdo.inc.php.

References $_errormsg.

◆ ErrorNo()

ADODB_pdo::ErrorNo ( )

Definition at line 301 of file adodb-pdo.inc.php.

References $_errorno.

◆ GenID()

ADODB_pdo::GenID (   $seqname = 'adodbseq',
  $startID = 1 
)

Definition at line 440 of file adodb-pdo.inc.php.

◆ InParameter()

ADODB_pdo::InParameter ( $stmt,
$var,
  $name,
  $maxLen = 4000,
  $type = false 
)

Definition at line 253 of file adodb-pdo.inc.php.

◆ MetaColumns()

ADODB_pdo::MetaColumns (   $table,
  $normalize = true 
)

Definition at line 248 of file adodb-pdo.inc.php.

◆ MetaTables()

ADODB_pdo::MetaTables (   $ttype = false,
  $showSchema = false,
  $mask = false 
)

Definition at line 243 of file adodb-pdo.inc.php.

◆ OffsetDate()

ADODB_pdo::OffsetDate (   $dayFraction,
  $date = false 
)

Definition at line 264 of file adodb-pdo.inc.php.

◆ Prepare()

ADODB_pdo::Prepare (   $sql)

Definition at line 402 of file adodb-pdo.inc.php.

References $sql.

◆ PrepareStmt()

ADODB_pdo::PrepareStmt (   $sql)

Definition at line 412 of file adodb-pdo.inc.php.

References $sql.

◆ RollbackTrans()

ADODB_pdo::RollbackTrans ( )

Definition at line 380 of file adodb-pdo.inc.php.

Referenced by CommitTrans().

◆ SelectLimit()

ADODB_pdo::SelectLimit (   $sql,
  $nrows = -1,
  $offset = -1,
  $inputarr = false,
  $secs2cache = 0 
)

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

References $sql.

◆ ServerInfo()

ADODB_pdo::ServerInfo ( )

Definition at line 238 of file adodb-pdo.inc.php.

◆ SetTransactionMode()

ADODB_pdo::SetTransactionMode (   $transaction_mode)

Definition at line 327 of file adodb-pdo.inc.php.

◆ Time()

ADODB_pdo::Time ( )

Definition at line 114 of file adodb-pdo.inc.php.

References $rs, and $sql.

Member Data Documentation

◆ $_autocommit

ADODB_pdo::$_autocommit = true

Definition at line 79 of file adodb-pdo.inc.php.

◆ $_bindInputArray

ADODB_pdo::$_bindInputArray = true

Definition at line 75 of file adodb-pdo.inc.php.

◆ $_driver

ADODB_pdo::$_driver

Definition at line 88 of file adodb-pdo.inc.php.

Referenced by _UpdatePDO().

◆ $_dropSeqSQL

ADODB_pdo::$_dropSeqSQL

Definition at line 78 of file adodb-pdo.inc.php.

◆ $_errormsg

ADODB_pdo::$_errormsg = false

Definition at line 83 of file adodb-pdo.inc.php.

Referenced by ErrorMsg().

◆ $_errorno

ADODB_pdo::$_errorno = false

Definition at line 84 of file adodb-pdo.inc.php.

Referenced by ErrorNo().

◆ $_genIDSQL

ADODB_pdo::$_genIDSQL

Definition at line 76 of file adodb-pdo.inc.php.

◆ $_genSeqSQL

ADODB_pdo::$_genSeqSQL = "create table %s (id integer)"

Definition at line 77 of file adodb-pdo.inc.php.

◆ $_haserrorfunctions

ADODB_pdo::$_haserrorfunctions = true

Definition at line 80 of file adodb-pdo.inc.php.

◆ $_lastAffectedRows

ADODB_pdo::$_lastAffectedRows = 0

Definition at line 81 of file adodb-pdo.inc.php.

◆ $databaseType

ADODB_pdo::$databaseType = "pdo"

Definition at line 69 of file adodb-pdo.inc.php.

◆ $dataProvider

ADODB_pdo::$dataProvider = "pdo"

Definition at line 70 of file adodb-pdo.inc.php.

◆ $dsnType

ADODB_pdo::$dsnType = ''

Definition at line 86 of file adodb-pdo.inc.php.

◆ $fmtDate

ADODB_pdo::$fmtDate = "'Y-m-d'"

Definition at line 71 of file adodb-pdo.inc.php.

◆ $fmtTimeStamp

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

Definition at line 72 of file adodb-pdo.inc.php.

◆ $hasAffectedRows

ADODB_pdo::$hasAffectedRows = true

Definition at line 74 of file adodb-pdo.inc.php.

◆ $replaceQuote

ADODB_pdo::$replaceQuote = "''"

Definition at line 73 of file adodb-pdo.inc.php.

◆ $stmt

ADODB_pdo::$stmt = false

Definition at line 87 of file adodb-pdo.inc.php.

Referenced by ADOPDOStatement\__construct(), and _query().