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

Public Member Functions

 ADODB_sybase ()
 _insertid ()
 _affectedrows ()
 BeginTrans ()
 CommitTrans ($ok=true)
 RollbackTrans ()
 RowLock ($tables, $where, $col='top 1 null as ignore')
 SelectDB ($dbName)
 ErrorMsg ()
 _connect ($argHostname, $argUsername, $argPassword, $argDatabasename)
 _pconnect ($argHostname, $argUsername, $argPassword, $argDatabasename)
 _query ($sql, $inputarr=false)
 SelectLimit ($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs2cache=0)
 _close ()
 SQLDate ($fmt, $col=false)
 MetaPrimaryKeys ($table)

Static Public Member Functions

static UnixDate ($v)
static UnixTimeStamp ($v)

Data Fields

 $databaseType = "sybase"
 $dataProvider = 'sybase'
 $replaceQuote = "''"
 $fmtDate = "'Y-m-d'"
 $fmtTimeStamp = "'Y-m-d H:i:s'"
 $hasInsertID = true
 $hasAffectedRows = true
 $metaTablesSQL = "select name from sysobjects where type='U' or type='V'"
 $metaColumnsSQL = "SELECT c.column_name, c.column_type, c.width FROM syscolumn c, systable t WHERE t.table_name='%s' AND c.table_id=t.table_id AND t.table_type='BASE'"
 $concat_operator = '+'
 $arrayClass = 'ADORecordSet_array_sybase'
 $sysDate = 'GetDate()'
 $leftOuter = '*='
 $rightOuter = '=*'

Detailed Description

Definition at line 21 of file adodb-sybase.inc.php.


Member Function Documentation

Definition at line 53 of file adodb-sybase.inc.php.

_close ( )

Definition at line 185 of file adodb-sybase.inc.php.

_connect ( argHostname,
argUsername,
argPassword,
argDatabasename 
)

Definition at line 122 of file adodb-sybase.inc.php.

Here is the call graph for this function:

_insertid ( )

Definition at line 48 of file adodb-sybase.inc.php.

_pconnect ( argHostname,
argUsername,
argPassword,
argDatabasename 
)

Definition at line 138 of file adodb-sybase.inc.php.

Here is the call graph for this function:

_query ( sql,
inputarr = false 
)

Definition at line 153 of file adodb-sybase.inc.php.

Definition at line 43 of file adodb-sybase.inc.php.

Definition at line 59 of file adodb-sybase.inc.php.

Here is the caller graph for this function:

CommitTrans ( ok = true)

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

Here is the call graph for this function:

ErrorMsg ( )

Reimplemented in ADODB_sybase_ase.

Definition at line 111 of file adodb-sybase.inc.php.

MetaPrimaryKeys ( table)

Definition at line 268 of file adodb-sybase.inc.php.

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

Here is the caller graph for this function:

RowLock ( tables,
where,
col = 'top 1 null as ignore' 
)

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

Here is the call graph for this function:

SelectDB ( dbName)

Definition at line 97 of file adodb-sybase.inc.php.

Here is the caller graph for this function:

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

Definition at line 164 of file adodb-sybase.inc.php.

SQLDate ( fmt,
col = false 
)

Definition at line 206 of file adodb-sybase.inc.php.

static UnixDate ( v) [static]

Definition at line 190 of file adodb-sybase.inc.php.

static UnixTimeStamp ( v) [static]

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


Field Documentation

$arrayClass = 'ADORecordSet_array_sybase'

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

$concat_operator = '+'

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

$databaseType = "sybase"

Reimplemented in ADODB_sybase_ase.

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

$dataProvider = 'sybase'

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

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

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

$fmtTimeStamp = "'Y-m-d H:i:s'"

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

$hasAffectedRows = true

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

$hasInsertID = true

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

$leftOuter = '*='

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

$metaColumnsSQL = "SELECT c.column_name, c.column_type, c.width FROM syscolumn c, systable t WHERE t.table_name='%s' AND c.table_id=t.table_id AND t.table_type='BASE'"

Reimplemented in ADODB_sybase_ase.

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

$metaTablesSQL = "select name from sysobjects where type='U' or type='V'"

Reimplemented in ADODB_sybase_ase.

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

$replaceQuote = "''"

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

$rightOuter = '=*'

Definition at line 41 of file adodb-sybase.inc.php.

$sysDate = 'GetDate()'

Definition at line 39 of file adodb-sybase.inc.php.


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