Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс ConditionGroup

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

 __construct (array $params=null)
 
 evaluate (BaseTarget $target)
 
 setType ($type)
 
 getType ()
 
 addItem (Condition $condition, $joiner=self::JOINER_AND)
 
 getItems ()
 
 setActivityNames ($activity)
 
 getActivityNames ()
 
 setActivated (bool $isActivated)
 
 isActivated ()
 
 isInternalized ()
 
 getEvaluateResults ()
 

Открытые статические члены

static convertBizprocActivity (array &$activity, array $documentType, Template $template)
 

Открытые атрибуты

const TYPE_FIELD = 'field'
 
const TYPE_MIXED = 'mixed'
 
const JOINER_AND = 'AND'
 
const JOINER_OR = 'OR'
 

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

array $evaluateResults = []
 
bool $activated = true
 
bool $internalized = false
 

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

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

Конструктор(ы)

◆ __construct()

__construct ( array $params = null)

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

Методы

◆ addItem()

addItem ( Condition $condition,
$joiner = self::JOINER_AND )
Аргументы
Condition$conditionCondition instance.
string$joinerCondition joiner.
Возвращает
$this This instance.

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

◆ convertBizprocActivity()

static convertBizprocActivity ( array & $activity,
array $documentType,
Template $template )
static
Аргументы
array&$activityTarget activity array.
array$documentType
Template$template
Возвращает
false|ConditionGroup Instance of false.

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

◆ evaluate()

evaluate ( BaseTarget $target)
Аргументы
BaseTarget$targetAutomation target.
Возвращает
bool

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

◆ getActivityNames()

getActivityNames ( )

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

◆ getEvaluateResults()

getEvaluateResults ( )

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

◆ getItems()

getItems ( )
Возвращает
array Condition items.

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

◆ getType()

getType ( )
Возвращает
mixed

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

◆ isActivated()

isActivated ( )

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

◆ isInternalized()

isInternalized ( )

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

◆ setActivated()

setActivated ( bool $isActivated)

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

◆ setActivityNames()

setActivityNames ( $activity)

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

◆ setType()

setType ( $type)
Аргументы
string$typeType of condition.
Возвращает
ConditionGroup This instance.

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

Данные класса

◆ $activated

bool $activated = true
protected

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

◆ $evaluateResults

array $evaluateResults = []
protected

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

◆ $internalized

bool $internalized = false
protected

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

◆ JOINER_AND

const JOINER_AND = 'AND'

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

◆ JOINER_OR

const JOINER_OR = 'OR'

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

◆ TYPE_FIELD

const TYPE_FIELD = 'field'

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

◆ TYPE_MIXED

const TYPE_MIXED = 'mixed'

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