1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Statement

Открытые члены

 addLine ($line)
 addCondition ($predicate)
 merge (Statement $stmt)
 formatBodyLines ($level=0)

Поля данных

 $tableName = ''
 $dependOn = ''
 $conditions = []

Защищенные данные

 $bodyLines = []

Подробное описание

См. определение в файле statement.php строка 4

Методы

◆ addCondition()

addCondition ( $predicate)

Adds condition on which statement have to be executed.

Аргументы
string$predicateCondition predicate.
Возвращает
Statement

См. определение в файле statement.php строка 31

◆ addLine()

addLine ( $line)

Adds one more line to the body.

Аргументы
string$lineLine of code.
Возвращает
Statement

См. определение в файле statement.php строка 18

◆ formatBodyLines()

formatBodyLines ( $level = 0)

Return body aligned with tab characters.

Аргументы
int$levelCode align level.
Возвращает
string

См. определение в файле statement.php строка 60

◆ merge()

merge ( Statement $stmt)

Merges two statements.

Аргументы
Statement$stmtContains lines to be added.
Возвращает
Statement

См. определение в файле statement.php строка 44

Поля

◆ $bodyLines

$bodyLines = []
protected

См. определение в файле statement.php строка 8

◆ $conditions

$conditions = []

См. определение в файле statement.php строка 9

◆ $dependOn

$dependOn = ''

См. определение в файле statement.php строка 7

◆ $tableName

$tableName = ''

См. определение в файле statement.php строка 6


Объявления и описания членов класса находятся в файле: