ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilDBLegacyInterface Interface Reference

Class ilDBLegacyInterface. More...

+ Collaboration diagram for ilDBLegacyInterface:

Public Member Functions

 getDBType ()
 
 initConnection ()
 
 supportsFulltext ()
 
 getStorageEngine ()
 
 supportsSlave ()
 
 setDBSlaveActive ($a_val)
 
 getDBSlaveActive ()
 
 setDBSlaveUser ($a_user)
 
 getDBSlaveUser ()
 
 setDBSlavePort ($a_port)
 
 getDBSlavePort ()
 
 setDBSlaveHost ($a_host)
 
 getDBSlaveHost ()
 
 setDBSlavePassword ($a_password)
 
 getDBSlavePassword ()
 
 setDBSlaveName ($a_name)
 
 getDBSlaveName ()
 
 getDSN ()
 
 getSlaveDSN ()
 
 getHostDSN ()
 
 setStorageEngine ($a_storage_engine)
 
 getReservedWords ()
 
 initFromIniFile ($tmpClientIniFile=null)
 
 doConnect ()
 
 now ()
 
 getDBVersion ()
 
 isMysql4_0OrHigher ()
 
 isMysql4_1 ()
 
 isMysql4_1OrHigher ()
 
 isMysql5_6OrHigher ()
 
 checkQuerySize ($a_query)
 
 addFulltextIndex ($a_table, $a_fields, $a_name='in')
 
 dropFulltextIndex ($a_table, $a_name)
 
 isFulltextIndex ($a_table, $a_name)
 
 lockTables ($a_tables)
 
 unlockTables ()
 
 getErrorNo ()
 
 getLastError ()
 
 query ($sql, $a_handle_error=true)
 
 loadModule ($module)
 
 setDBUser ($a_user)
 
 getDBUser ()
 
 setDBPort ($a_port)
 
 getDBPort ()
 
 setDBHost ($a_host)
 
 getDBHost ()
 
 setDBPassword ($a_password)
 
 getDBPassword ()
 
 setDBName ($a_name)
 
 getDBName ()
 
 enableResultBuffering ($a_status)
 
 connect ($a_return_false_for_error=false)
 
 disconnect ()
 
 connectHost ()
 
 supports ($feature)
 
 supportsTransactions ()
 
 useSlave ($a_val=true)
 
 handleError ($a_res, $a_info='', $a_level='')
 
 raisePearError ($a_message, $a_level='')
 
 isDbError ($a_res)
 
 createDatabase ($a_name, $a_charset='utf8', $a_collation='')
 
 createTable ($a_name, $a_definition_array, $a_drop_table=false, $a_ignore_erros=false)
 
 dropTable ($a_name, $a_error_if_not_existing=true)
 
 alterTable ($a_name, $a_changes)
 
 addTableColumn ($a_table, $a_column, $a_attributes)
 
 dropTableColumn ($a_table, $a_column)
 
 modifyTableColumn ($a_table, $a_column, $a_attributes)
 
 renameTableColumn ($a_table, $a_column, $a_new_column)
 
 renameTable ($a_name, $a_new_name)
 
 addPrimaryKey ($a_table, $a_fields)
 
 getPrimaryKeyIdentifier ()
 
 dropPrimaryKey ($a_table)
 
 addIndex ($a_table, $a_fields, $a_name='in', $a_fulltext=false)
 
 indexExistsByFields ($a_table, $a_fields)
 
 dropIndexByFields ($a_table, $a_fields)
 
 dropIndex ($a_table, $a_name='in')
 
 addUniqueConstraint ($a_table, $a_fields, $a_name='con')
 
 dropUniqueConstraint ($a_table, $a_name='con')
 
 dropUniqueConstraintByFields ($a_table, $a_fields)
 
 createSequence ($a_table_name, $a_start=1)
 
 dropSequence ($a_table_name)
 
 checkTableName ($a_name)
 
 checkTableColumns ($a_cols)
 
 checkColumn ($a_col, $a_def)
 
 checkColumnDefinition ($a_def, $a_modify_mode=false)
 
 checkColumnName ($a_name)
 
 checkIndexName ($a_name)
 
 getAllowedAttributes ()
 
 constraintName ($a_table, $a_constraint)
 
 isReservedWord ($a_word)
 
 queryF ($a_query, $a_types, $a_values)
 
 manipulateF ($a_query, $a_types, $a_values)
 
 logStatement ($sql)
 
 setLimit ($a_limit, $a_offset=0)
 
 nextId ($a_table_name)
 
 manipulate ($sql)
 
 prepare ($a_query, $a_types=null, $a_result_types=null)
 
 prepareManip ($a_query, $a_types=null)
 
 execute ($a_stmt, $a_data=null)
 
 executeMultiple ($a_stmt, $a_data)
 
 insert ($a_table, $a_columns)
 
 update ($a_table, $a_columns, $a_where)
 
 replace ($a_table, $a_pk_columns, $a_other_columns)
 
 fetchAssoc ($a_set)
 
 free ($a_st)
 
 fetchObject ($a_set)
 
 numRows ($a_set)
 
 in ($a_field, $a_values, $negate=false, $a_type='')
 
 addTypesToArray ($a_arr, $a_type, $a_cnt)
 
 concat ($a_values, $a_allow_null=true)
 
 substr ($a_exp, $a_pos=1, $a_len=-1)
 
 upper ($a_exp)
 
 lower ($a_exp)
 
 locate ($a_needle, $a_string, $a_start_pos=1)
 
 like ($a_col, $a_type, $a_value='?', $case_insensitive=true)
 
 equals ($a_col, $a_value, $a_type, $a_empty_or_null=false)
 
 equalsNot ($a_col, $a_value, $a_type, $a_empty_or_null=false)
 
 fromUnixtime ($a_expr, $a_to_text=true)
 
 unixTimestamp ()
 
 tableExists ($a_table)
 
 tableColumnExists ($a_table, $a_column_name)
 
 uniqueConstraintExists ($a_table, $a_fields)
 
 listTables ()
 
 sequenceExists ($a_sequence)
 
 listSequences ()
 
 quote ($a_query, $a_type=null)
 
 quoteIdentifier ($a_identifier, $check_option=false)
 
 beginTransaction ()
 
 commit ()
 
 rollback ()
 
 autoExecute ($a_tablename, $a_fields, $a_mode='MDB2_AUTOQUERY_INSERT', $a_where=false)
 
 getLastInsertId ()
 
 getOne ($sql)
 
 getRow ($sql, $mode=3)
 
 fetchAll ($query_result, $fetch_mode=2)
 
 setSubType ($a_value)
 
 getSubType ()
 
 migrateAllTablesToEngine ($engine='InnoDB')
 
 supportsEngineMigration ()
 
 getSequenceName ($table_name)
 
 buildAtomQuery ()
 
 PEAR ($error_class=null)
 
 _PEAR ()
 
 getStaticProperty ($class, $var)
 
 registerShutdownFunc ($func, $args=array())
 
 isError ($data, $code=null)
 
 setErrorHandling ($mode=null, $options=null)
 
 expectError ($code=' *')
 
 popExpect ()
 
 _checkDelExpect ($error_code)
 
 delExpect ($error_code)
 
 raiseError ($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false)
 
 throwError ($message=null, $code=null, $userinfo=null)
 
 staticPushErrorHandling ($mode, $options=null)
 
 staticPopErrorHandling ()
 
 pushErrorHandling ($mode, $options=null)
 
 popErrorHandling ()
 
 loadExtension ($ext)
 

Detailed Description

Class ilDBLegacyInterface.

These are all public methods from ilDBInnoDB

Currently unused, will be used to find missing methods in PDO and to discuss if they are still needed

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 12 of file interface.ilDBLegacyInterface.php.

Member Function Documentation

◆ _checkDelExpect()

ilDBLegacyInterface::_checkDelExpect (   $error_code)
Parameters
error_code

◆ _PEAR()

ilDBLegacyInterface::_PEAR ( )

◆ addFulltextIndex()

ilDBLegacyInterface::addFulltextIndex (   $a_table,
  $a_fields,
  $a_name = 'in' 
)
Parameters
a_table
a_fields
a_name

◆ addIndex()

ilDBLegacyInterface::addIndex (   $a_table,
  $a_fields,
  $a_name = 'in',
  $a_fulltext = false 
)
Parameters
a_table
a_fields
a_name
a_fulltext

◆ addPrimaryKey()

ilDBLegacyInterface::addPrimaryKey (   $a_table,
  $a_fields 
)
Parameters
a_table
a_fields

◆ addTableColumn()

ilDBLegacyInterface::addTableColumn (   $a_table,
  $a_column,
  $a_attributes 
)
Parameters
a_table
a_column
a_attributes

◆ addTypesToArray()

ilDBLegacyInterface::addTypesToArray (   $a_arr,
  $a_type,
  $a_cnt 
)
Parameters
a_arr
a_type
a_cnt

◆ addUniqueConstraint()

ilDBLegacyInterface::addUniqueConstraint (   $a_table,
  $a_fields,
  $a_name = 'con' 
)
Parameters
a_table
a_fields
a_name

◆ alterTable()

ilDBLegacyInterface::alterTable (   $a_name,
  $a_changes 
)
Parameters
a_name
a_changes

◆ autoExecute()

ilDBLegacyInterface::autoExecute (   $a_tablename,
  $a_fields,
  $a_mode = 'MDB2_AUTOQUERY_INSERT',
  $a_where = false 
)
Parameters
a_tablename
a_fields
a_mode
a_where

◆ beginTransaction()

ilDBLegacyInterface::beginTransaction ( )

◆ buildAtomQuery()

ilDBLegacyInterface::buildAtomQuery ( )

◆ checkColumn()

ilDBLegacyInterface::checkColumn (   $a_col,
  $a_def 
)
Parameters
a_col
a_def

◆ checkColumnDefinition()

ilDBLegacyInterface::checkColumnDefinition (   $a_def,
  $a_modify_mode = false 
)
Parameters
a_def
a_modify_mode

◆ checkColumnName()

ilDBLegacyInterface::checkColumnName (   $a_name)
Parameters
a_name

◆ checkIndexName()

ilDBLegacyInterface::checkIndexName (   $a_name)
Parameters
a_name

◆ checkQuerySize()

ilDBLegacyInterface::checkQuerySize (   $a_query)
Parameters
a_query

◆ checkTableColumns()

ilDBLegacyInterface::checkTableColumns (   $a_cols)
Parameters
a_cols

◆ checkTableName()

ilDBLegacyInterface::checkTableName (   $a_name)
Parameters
a_name

◆ commit()

ilDBLegacyInterface::commit ( )

◆ concat()

ilDBLegacyInterface::concat (   $a_values,
  $a_allow_null = true 
)
Parameters
a_values
a_allow_null

◆ connect()

ilDBLegacyInterface::connect (   $a_return_false_for_error = false)
Parameters
a_return_false_for_error

◆ connectHost()

ilDBLegacyInterface::connectHost ( )

◆ constraintName()

ilDBLegacyInterface::constraintName (   $a_table,
  $a_constraint 
)
Parameters
a_table
a_constraint

◆ createDatabase()

ilDBLegacyInterface::createDatabase (   $a_name,
  $a_charset = 'utf8',
  $a_collation = '' 
)
Parameters
a_name
a_charset
a_collation

◆ createSequence()

ilDBLegacyInterface::createSequence (   $a_table_name,
  $a_start = 1 
)
Parameters
a_table_name
a_start

◆ createTable()

ilDBLegacyInterface::createTable (   $a_name,
  $a_definition_array,
  $a_drop_table = false,
  $a_ignore_erros = false 
)
Parameters
a_name
a_definition_array
a_drop_table
a_ignore_erros

◆ delExpect()

ilDBLegacyInterface::delExpect (   $error_code)
Parameters
error_code

◆ disconnect()

ilDBLegacyInterface::disconnect ( )

◆ doConnect()

ilDBLegacyInterface::doConnect ( )

◆ dropFulltextIndex()

ilDBLegacyInterface::dropFulltextIndex (   $a_table,
  $a_name 
)
Parameters
a_table
a_name

◆ dropIndex()

ilDBLegacyInterface::dropIndex (   $a_table,
  $a_name = 'in' 
)
Parameters
a_table
a_name

◆ dropIndexByFields()

ilDBLegacyInterface::dropIndexByFields (   $a_table,
  $a_fields 
)
Parameters
a_table
a_fields

◆ dropPrimaryKey()

ilDBLegacyInterface::dropPrimaryKey (   $a_table)
Parameters
a_table

◆ dropSequence()

ilDBLegacyInterface::dropSequence (   $a_table_name)
Parameters
a_table_name

◆ dropTable()

ilDBLegacyInterface::dropTable (   $a_name,
  $a_error_if_not_existing = true 
)
Parameters
a_name
a_error_if_not_existing

◆ dropTableColumn()

ilDBLegacyInterface::dropTableColumn (   $a_table,
  $a_column 
)
Parameters
a_table
a_column

◆ dropUniqueConstraint()

ilDBLegacyInterface::dropUniqueConstraint (   $a_table,
  $a_name = 'con' 
)
Parameters
a_table
a_name

◆ dropUniqueConstraintByFields()

ilDBLegacyInterface::dropUniqueConstraintByFields (   $a_table,
  $a_fields 
)
Parameters
a_table
a_fields

◆ enableResultBuffering()

ilDBLegacyInterface::enableResultBuffering (   $a_status)
Parameters
a_status

◆ equals()

ilDBLegacyInterface::equals (   $a_col,
  $a_value,
  $a_type,
  $a_empty_or_null = false 
)
Parameters
a_col
a_value
a_type
a_empty_or_null

◆ equalsNot()

ilDBLegacyInterface::equalsNot (   $a_col,
  $a_value,
  $a_type,
  $a_empty_or_null = false 
)
Parameters
a_col
a_value
a_type
a_empty_or_null

◆ execute()

ilDBLegacyInterface::execute (   $a_stmt,
  $a_data = null 
)
Parameters
a_stmt
a_data

◆ executeMultiple()

ilDBLegacyInterface::executeMultiple (   $a_stmt,
  $a_data 
)
Parameters
a_stmt
a_data

◆ expectError()

ilDBLegacyInterface::expectError (   $code = ' *')
Parameters
code

◆ fetchAll()

ilDBLegacyInterface::fetchAll (   $query_result,
  $fetch_mode = 2 
)
Parameters
query_result
fetch_mode

◆ fetchAssoc()

ilDBLegacyInterface::fetchAssoc (   $a_set)
Parameters
a_set

◆ fetchObject()

ilDBLegacyInterface::fetchObject (   $a_set)
Parameters
a_set

◆ free()

ilDBLegacyInterface::free (   $a_st)
Parameters
a_st

◆ fromUnixtime()

ilDBLegacyInterface::fromUnixtime (   $a_expr,
  $a_to_text = true 
)
Parameters
a_expr
a_to_text

◆ getAllowedAttributes()

ilDBLegacyInterface::getAllowedAttributes ( )

◆ getDBHost()

ilDBLegacyInterface::getDBHost ( )

◆ getDBName()

ilDBLegacyInterface::getDBName ( )

◆ getDBPassword()

ilDBLegacyInterface::getDBPassword ( )

◆ getDBPort()

ilDBLegacyInterface::getDBPort ( )

◆ getDBSlaveActive()

ilDBLegacyInterface::getDBSlaveActive ( )

◆ getDBSlaveHost()

ilDBLegacyInterface::getDBSlaveHost ( )

◆ getDBSlaveName()

ilDBLegacyInterface::getDBSlaveName ( )

◆ getDBSlavePassword()

ilDBLegacyInterface::getDBSlavePassword ( )

◆ getDBSlavePort()

ilDBLegacyInterface::getDBSlavePort ( )

◆ getDBSlaveUser()

ilDBLegacyInterface::getDBSlaveUser ( )

◆ getDBType()

ilDBLegacyInterface::getDBType ( )

◆ getDBUser()

ilDBLegacyInterface::getDBUser ( )

◆ getDBVersion()

ilDBLegacyInterface::getDBVersion ( )

◆ getDSN()

ilDBLegacyInterface::getDSN ( )

◆ getErrorNo()

ilDBLegacyInterface::getErrorNo ( )

◆ getHostDSN()

ilDBLegacyInterface::getHostDSN ( )

◆ getLastError()

ilDBLegacyInterface::getLastError ( )

◆ getLastInsertId()

ilDBLegacyInterface::getLastInsertId ( )

◆ getOne()

ilDBLegacyInterface::getOne (   $sql)
Parameters
sql

◆ getPrimaryKeyIdentifier()

ilDBLegacyInterface::getPrimaryKeyIdentifier ( )

◆ getReservedWords()

ilDBLegacyInterface::getReservedWords ( )

◆ getRow()

ilDBLegacyInterface::getRow (   $sql,
  $mode = 3 
)
Parameters
sql
mode

◆ getSequenceName()

ilDBLegacyInterface::getSequenceName (   $table_name)
Parameters
table_name

◆ getSlaveDSN()

ilDBLegacyInterface::getSlaveDSN ( )

◆ getStaticProperty()

ilDBLegacyInterface::getStaticProperty (   $class,
  $var 
)
Parameters
class
var

◆ getStorageEngine()

ilDBLegacyInterface::getStorageEngine ( )

◆ getSubType()

ilDBLegacyInterface::getSubType ( )

◆ handleError()

ilDBLegacyInterface::handleError (   $a_res,
  $a_info = '',
  $a_level = '' 
)
Parameters
a_res
a_info
a_level

◆ in()

ilDBLegacyInterface::in (   $a_field,
  $a_values,
  $negate = false,
  $a_type = '' 
)
Parameters
a_field
a_values
negate
a_type

◆ indexExistsByFields()

ilDBLegacyInterface::indexExistsByFields (   $a_table,
  $a_fields 
)
Parameters
a_table
a_fields

◆ initConnection()

ilDBLegacyInterface::initConnection ( )

◆ initFromIniFile()

ilDBLegacyInterface::initFromIniFile (   $tmpClientIniFile = null)
Parameters
tmpClientIniFile

◆ insert()

ilDBLegacyInterface::insert (   $a_table,
  $a_columns 
)
Parameters
a_table
a_columns

◆ isDbError()

ilDBLegacyInterface::isDbError (   $a_res)
Parameters
a_res

◆ isError()

ilDBLegacyInterface::isError (   $data,
  $code = null 
)
Parameters
data
code

◆ isFulltextIndex()

ilDBLegacyInterface::isFulltextIndex (   $a_table,
  $a_name 
)
Parameters
a_table
a_name

◆ isMysql4_0OrHigher()

ilDBLegacyInterface::isMysql4_0OrHigher ( )

◆ isMysql4_1()

ilDBLegacyInterface::isMysql4_1 ( )

◆ isMysql4_1OrHigher()

ilDBLegacyInterface::isMysql4_1OrHigher ( )

◆ isMysql5_6OrHigher()

ilDBLegacyInterface::isMysql5_6OrHigher ( )

◆ isReservedWord()

ilDBLegacyInterface::isReservedWord (   $a_word)
Parameters
a_word

◆ like()

ilDBLegacyInterface::like (   $a_col,
  $a_type,
  $a_value = '?',
  $case_insensitive = true 
)
Parameters
a_col
a_type
a_value
case_insensitive

◆ listSequences()

ilDBLegacyInterface::listSequences ( )

◆ listTables()

ilDBLegacyInterface::listTables ( )

◆ loadExtension()

ilDBLegacyInterface::loadExtension (   $ext)
Parameters
ext

◆ loadModule()

ilDBLegacyInterface::loadModule (   $module)
Parameters
module

◆ locate()

ilDBLegacyInterface::locate (   $a_needle,
  $a_string,
  $a_start_pos = 1 
)
Parameters
a_needle
a_string
a_start_pos

◆ lockTables()

ilDBLegacyInterface::lockTables (   $a_tables)
Parameters
a_tables

◆ logStatement()

ilDBLegacyInterface::logStatement (   $sql)
Parameters
sql

◆ lower()

ilDBLegacyInterface::lower (   $a_exp)
Parameters
a_exp

◆ manipulate()

ilDBLegacyInterface::manipulate (   $sql)
Parameters
sql

◆ manipulateF()

ilDBLegacyInterface::manipulateF (   $a_query,
  $a_types,
  $a_values 
)
Parameters
a_query
a_types
a_values

◆ migrateAllTablesToEngine()

ilDBLegacyInterface::migrateAllTablesToEngine (   $engine = 'InnoDB')
Parameters
engine

◆ modifyTableColumn()

ilDBLegacyInterface::modifyTableColumn (   $a_table,
  $a_column,
  $a_attributes 
)
Parameters
a_table
a_column
a_attributes

◆ nextId()

ilDBLegacyInterface::nextId (   $a_table_name)
Parameters
a_table_name

◆ now()

ilDBLegacyInterface::now ( )

◆ numRows()

ilDBLegacyInterface::numRows (   $a_set)
Parameters
a_set

◆ PEAR()

ilDBLegacyInterface::PEAR (   $error_class = null)
Parameters
error_class

◆ popErrorHandling()

ilDBLegacyInterface::popErrorHandling ( )

◆ popExpect()

ilDBLegacyInterface::popExpect ( )

◆ prepare()

ilDBLegacyInterface::prepare (   $a_query,
  $a_types = null,
  $a_result_types = null 
)
Parameters
a_query
a_types
a_result_types

◆ prepareManip()

ilDBLegacyInterface::prepareManip (   $a_query,
  $a_types = null 
)
Parameters
a_query
a_types

◆ pushErrorHandling()

ilDBLegacyInterface::pushErrorHandling (   $mode,
  $options = null 
)
Parameters
mode
options

◆ query()

ilDBLegacyInterface::query (   $sql,
  $a_handle_error = true 
)
Parameters
sql
a_handle_error

◆ queryF()

ilDBLegacyInterface::queryF (   $a_query,
  $a_types,
  $a_values 
)
Parameters
a_query
a_types
a_values

◆ quote()

ilDBLegacyInterface::quote (   $a_query,
  $a_type = null 
)
Parameters
a_query
a_type

◆ quoteIdentifier()

ilDBLegacyInterface::quoteIdentifier (   $a_identifier,
  $check_option = false 
)
Parameters
a_identifier
check_option

◆ raiseError()

ilDBLegacyInterface::raiseError (   $message = null,
  $code = null,
  $mode = null,
  $options = null,
  $userinfo = null,
  $error_class = null,
  $skipmsg = false 
)
Parameters
message
code
mode
options
userinfo
error_class
skipmsg

◆ raisePearError()

ilDBLegacyInterface::raisePearError (   $a_message,
  $a_level = '' 
)
Parameters
a_message
a_level

◆ registerShutdownFunc()

ilDBLegacyInterface::registerShutdownFunc (   $func,
  $args = array() 
)
Parameters
func
args

◆ renameTable()

ilDBLegacyInterface::renameTable (   $a_name,
  $a_new_name 
)
Parameters
a_name
a_new_name

◆ renameTableColumn()

ilDBLegacyInterface::renameTableColumn (   $a_table,
  $a_column,
  $a_new_column 
)
Parameters
a_table
a_column
a_new_column

◆ replace()

ilDBLegacyInterface::replace (   $a_table,
  $a_pk_columns,
  $a_other_columns 
)
Parameters
a_table
a_pk_columns
a_other_columns

◆ rollback()

ilDBLegacyInterface::rollback ( )

◆ sequenceExists()

ilDBLegacyInterface::sequenceExists (   $a_sequence)
Parameters
a_sequence

◆ setDBHost()

ilDBLegacyInterface::setDBHost (   $a_host)
Parameters
a_host

◆ setDBName()

ilDBLegacyInterface::setDBName (   $a_name)
Parameters
a_name

◆ setDBPassword()

ilDBLegacyInterface::setDBPassword (   $a_password)
Parameters
a_password

◆ setDBPort()

ilDBLegacyInterface::setDBPort (   $a_port)
Parameters
a_port

◆ setDBSlaveActive()

ilDBLegacyInterface::setDBSlaveActive (   $a_val)
Parameters
a_val

◆ setDBSlaveHost()

ilDBLegacyInterface::setDBSlaveHost (   $a_host)
Parameters
a_host

◆ setDBSlaveName()

ilDBLegacyInterface::setDBSlaveName (   $a_name)
Parameters
a_name

◆ setDBSlavePassword()

ilDBLegacyInterface::setDBSlavePassword (   $a_password)
Parameters
a_password

◆ setDBSlavePort()

ilDBLegacyInterface::setDBSlavePort (   $a_port)
Parameters
a_port

◆ setDBSlaveUser()

ilDBLegacyInterface::setDBSlaveUser (   $a_user)
Parameters
a_user

◆ setDBUser()

ilDBLegacyInterface::setDBUser (   $a_user)
Parameters
a_user

◆ setErrorHandling()

ilDBLegacyInterface::setErrorHandling (   $mode = null,
  $options = null 
)
Parameters
mode
options

◆ setLimit()

ilDBLegacyInterface::setLimit (   $a_limit,
  $a_offset = 0 
)
Parameters
a_limit
a_offset

◆ setStorageEngine()

ilDBLegacyInterface::setStorageEngine (   $a_storage_engine)
Parameters
a_storage_engine

◆ setSubType()

ilDBLegacyInterface::setSubType (   $a_value)
Parameters
a_value

◆ staticPopErrorHandling()

ilDBLegacyInterface::staticPopErrorHandling ( )

◆ staticPushErrorHandling()

ilDBLegacyInterface::staticPushErrorHandling (   $mode,
  $options = null 
)
Parameters
mode
options

◆ substr()

ilDBLegacyInterface::substr (   $a_exp,
  $a_pos = 1,
  $a_len = -1 
)
Parameters
a_exp
a_pos
a_len

◆ supports()

ilDBLegacyInterface::supports (   $feature)
Parameters
feature

◆ supportsEngineMigration()

ilDBLegacyInterface::supportsEngineMigration ( )

◆ supportsFulltext()

ilDBLegacyInterface::supportsFulltext ( )

◆ supportsSlave()

ilDBLegacyInterface::supportsSlave ( )

◆ supportsTransactions()

ilDBLegacyInterface::supportsTransactions ( )

◆ tableColumnExists()

ilDBLegacyInterface::tableColumnExists (   $a_table,
  $a_column_name 
)
Parameters
a_table
a_column_name

◆ tableExists()

ilDBLegacyInterface::tableExists (   $a_table)
Parameters
a_table

◆ throwError()

ilDBLegacyInterface::throwError (   $message = null,
  $code = null,
  $userinfo = null 
)
Parameters
message
code
userinfo

◆ uniqueConstraintExists()

ilDBLegacyInterface::uniqueConstraintExists (   $a_table,
  $a_fields 
)
Parameters
a_table
a_fields

◆ unixTimestamp()

ilDBLegacyInterface::unixTimestamp ( )

◆ unlockTables()

ilDBLegacyInterface::unlockTables ( )

◆ update()

ilDBLegacyInterface::update (   $a_table,
  $a_columns,
  $a_where 
)
Parameters
a_table
a_columns
a_where

◆ upper()

ilDBLegacyInterface::upper (   $a_exp)
Parameters
a_exp

◆ useSlave()

ilDBLegacyInterface::useSlave (   $a_val = true)
Parameters
a_val

The documentation for this interface was generated from the following file: