Bitrix API

Helper extends CommonHelper

FinalYes

Table of Contents

Methods

addAutoIncrement()  : mixed
checkIndexNameExists()  : mixed
checkTableExists()  : mixed
createIndex()  : mixed
dropAutoIncrementRestrictions()  : mixed
dropIndexByName()  : mixed
dropTable()  : mixed
getBatchInsertHead()  : mixed
getBatchInsertSeparator()  : mixed
getBatchInsertTail()  : mixed
getBatchInsertValues()  : mixed
getMaxTransferUnit()  : mixed
getQuerySeparatorSql()  : mixed
getSqlForAutoIncrement()  : mixed
getSqlForDataType()  : mixed
incrementSequenceForTable()  : mixed
mergeTables()  : mixed
needSelectFieldsInOrderByWhenDistinct()  : mixed
resetAutoIncrement()  : mixed
restoreAutoIncrementRestrictions()  : mixed
truncateTable()  : mixed

Methods

addAutoIncrement()

public static addAutoIncrement() : mixed

checkIndexNameExists()

public static checkIndexNameExists(mixed $indexName, mixed $tableName) : mixed
Parameters
$indexName : mixed
$tableName : mixed

checkTableExists()

public static checkTableExists(mixed $tableName) : mixed
Parameters
$tableName : mixed

createIndex()

public static createIndex(mixed $tableName, mixed $ixNamePostfix[, mixed $columns = array() ][, mixed $unique = false ]) : mixed
Parameters
$tableName : mixed
$ixNamePostfix : mixed
$columns : mixed = array()
$unique : mixed = false

dropAutoIncrementRestrictions()

public static dropAutoIncrementRestrictions(mixed $tableName) : mixed
Parameters
$tableName : mixed

dropIndexByName()

public static dropIndexByName(mixed $indexName, mixed $tableName) : mixed
Parameters
$indexName : mixed
$tableName : mixed

dropTable()

public static dropTable(mixed $tableName) : mixed
Parameters
$tableName : mixed

getBatchInsertHead()

public static getBatchInsertHead(mixed $tableName[, mixed $fields = array() ]) : mixed
Parameters
$tableName : mixed
$fields : mixed = array()

getBatchInsertSeparator()

public static getBatchInsertSeparator() : mixed

getBatchInsertTail()

public static getBatchInsertTail() : mixed

getBatchInsertValues()

public static getBatchInsertValues(mixed $row, mixed $tableName, mixed $fields, mixed $map) : mixed
Parameters
$row : mixed
$tableName : mixed
$fields : mixed
$map : mixed

getMaxTransferUnit()

public static getMaxTransferUnit() : mixed

getQuerySeparatorSql()

public static getQuerySeparatorSql() : mixed

getSqlForAutoIncrement()

public static getSqlForAutoIncrement() : mixed

getSqlForDataType()

public static getSqlForDataType(mixed $type[, mixed $len = 0 ]) : mixed
Parameters
$type : mixed
$len : mixed = 0

incrementSequenceForTable()

public static incrementSequenceForTable(mixed $tableName) : mixed
Parameters
$tableName : mixed

mergeTables()

public static mergeTables(mixed $toTable, mixed $fromTable, mixed $fldMap, mixed $fldCondition) : mixed
Parameters
$toTable : mixed
$fromTable : mixed
$fldMap : mixed
$fldCondition : mixed

needSelectFieldsInOrderByWhenDistinct()

public static needSelectFieldsInOrderByWhenDistinct() : mixed

resetAutoIncrement()

public static resetAutoIncrement(mixed $tableName[, mixed $startIndex = 1 ]) : mixed
Parameters
$tableName : mixed
$startIndex : mixed = 1

restoreAutoIncrementRestrictions()

public static restoreAutoIncrementRestrictions(mixed $tableName) : mixed
Parameters
$tableName : mixed

truncateTable()

public static truncateTable(mixed $tableName) : mixed
Parameters
$tableName : mixed

        
On this page

Search results