Moodle  2.2.1
http://www.collinsharper.com
ADODB_pdo Class Reference
Inheritance diagram for ADODB_pdo:

Public Member Functions

 ADODB_pdo ()
 _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 ()

Data Fields

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

Detailed Description

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


Member Function Documentation

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

_close ( )

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

_connect ( argDSN,
argUsername,
argPassword,
argDatabasename,
persist = false 
)

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

Here is the call graph for this function:

Here is the caller graph for this function:

_insertid ( )

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

_pconnect ( argDSN,
argUsername,
argPassword,
argDatabasename 
)

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

Here is the call graph for this function:

_query ( sql,
inputarr = false 
)

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

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

Here is the caller graph for this function:

ADODB_pdo ( )

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

Reimplemented in ADODB_pdo_sqlite.

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

CommitTrans ( ok = true)

Reimplemented in ADODB_pdo_sqlite.

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

Here is the call graph for this function:

Concat ( )

Reimplemented in ADODB_pdo_mysql.

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

CreateSequence ( seqname = 'adodbseq',
startID = 1 
)

Reimplemented in ADODB_pdo_sqlite.

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

DropSequence ( seqname = 'adodbseq')

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

ErrorMsg ( )

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

ErrorNo ( )

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

GenID ( seqname = 'adodbseq',
startID = 1 
)

Reimplemented in ADODB_pdo_sqlite.

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

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

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

MetaColumns ( table,
normalize = true 
)
MetaTables ( ttype = false,
showSchema = false,
mask = false 
)
OffsetDate ( dayFraction,
date = false 
)

Reimplemented in ADODB_pdo_mysql.

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

Prepare ( sql)

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

PrepareStmt ( sql)

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

Reimplemented in ADODB_pdo_sqlite.

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

Here is the caller graph for this function:

SelectLimit ( sql,
nrows = -1,
offset = -1,
inputarr = false,
secs2cache = 0 
)
SetTransactionMode ( transaction_mode)

Reimplemented in ADODB_pdo_sqlite, ADODB_pdo_mysql, and ADODB_pdo_mssql.

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

Time ( )

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


Field Documentation

$_autocommit = true

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

$_bindInputArray = true

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

$_errormsg = false

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

$_errorno = false

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

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

Reimplemented in ADODB_pdo_pgsql, and ADODB_pdo_sqlite.

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

$_haserrorfunctions = true

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

$_lastAffectedRows = 0

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

$databaseType = "pdo"

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

$dataProvider = "pdo"

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

$dsnType = ''

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

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

Reimplemented in ADODB_pdo_pgsql.

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

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

Reimplemented in ADODB_pdo_pgsql, and ADODB_pdo_mysql.

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

$hasAffectedRows = true

Reimplemented in ADODB_pdo_pgsql.

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

$replaceQuote = "''"

Reimplemented in ADODB_pdo_sqlite.

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

$stmt = false

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


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations