TYPO3 CMS  TYPO3_7-6
ADODB_sybase Class Reference
Inheritance diagram for ADODB_sybase:
ADODB_sybase_ase

Public Member Functions

 __construct ()
 
 _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, $owner=false)
 

Static Public Member Functions

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

Public Attributes

 $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 = '=*'
 
 $port
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ADODB_sybase::__construct ( )

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

Member Function Documentation

◆ _affectedrows()

ADODB_sybase::_affectedrows ( )

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

◆ _close()

ADODB_sybase::_close ( )

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

◆ _connect()

ADODB_sybase::_connect (   $argHostname,
  $argUsername,
  $argPassword,
  $argDatabasename 
)

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

References $port, and SelectDB().

◆ _insertid()

ADODB_sybase::_insertid ( )

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

◆ _pconnect()

ADODB_sybase::_pconnect (   $argHostname,
  $argUsername,
  $argPassword,
  $argDatabasename 
)

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

References $port, and SelectDB().

◆ _query()

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

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

References $sql.

◆ BeginTrans()

ADODB_sybase::BeginTrans ( )

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

Referenced by RowLock().

◆ CommitTrans()

ADODB_sybase::CommitTrans (   $ok = true)

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

References RollbackTrans().

◆ ErrorMsg()

ADODB_sybase::ErrorMsg ( )

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

◆ MetaPrimaryKeys()

ADODB_sybase::MetaPrimaryKeys (   $table,
  $owner = false 
)

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

References $a, and $sql.

◆ RollbackTrans()

ADODB_sybase::RollbackTrans ( )

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

Referenced by CommitTrans().

◆ RowLock()

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

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

References BeginTrans().

◆ SelectDB()

ADODB_sybase::SelectDB (   $dbName)

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

Referenced by _connect(), and _pconnect().

◆ SelectLimit()

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

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

References $rs, and $sql.

◆ SQLDate()

ADODB_sybase::SQLDate (   $fmt,
  $col = false 
)

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

◆ UnixDate()

static ADODB_sybase::UnixDate (   $v)
static

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

References ADORecordSet_array_sybase\UnixDate().

◆ UnixTimeStamp()

static ADODB_sybase::UnixTimeStamp (   $v)
static

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

References ADORecordSet_array_sybase\UnixTimeStamp().

Member Data Documentation

◆ $arrayClass

ADODB_sybase::$arrayClass = 'ADORecordSet_array_sybase'

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

◆ $concat_operator

ADODB_sybase::$concat_operator = '+'

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

◆ $databaseType

ADODB_sybase::$databaseType = "sybase"

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

◆ $dataProvider

ADODB_sybase::$dataProvider = 'sybase'

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

◆ $fmtDate

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

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

◆ $fmtTimeStamp

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

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

◆ $hasAffectedRows

ADODB_sybase::$hasAffectedRows = true

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

◆ $hasInsertID

ADODB_sybase::$hasInsertID = true

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

◆ $leftOuter

ADODB_sybase::$leftOuter = '*='

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

◆ $metaColumnsSQL

ADODB_sybase::$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'"

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

◆ $metaTablesSQL

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

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

◆ $port

ADODB_sybase::$port

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

Referenced by _connect(), and _pconnect().

◆ $replaceQuote

ADODB_sybase::$replaceQuote = "''"

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

◆ $rightOuter

ADODB_sybase::$rightOuter = '=*'

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

◆ $sysDate

ADODB_sybase::$sysDate = 'GetDate()'

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