Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
lessthenorequaloperator.php
1<?php
2
4
7
9{
10 public static function getCode(): string
11 {
12 return '<=';
13 }
14
15 public static function getTitle(): string
16 {
17 return Loc::getMessage('BIZPROC_ACTIVITY_CONDITION_OPERATORS_LESS_THEN_OR_EQUAL_OPERATOR_TITLE') ?? '';
18 }
19
20 protected function compare($toCheck, $value): bool
21 {
22 $typeClass = $this->fieldType->getTypeClass();
23
24 return $typeClass::compareValues($toCheck, $value) <= 0;
25 }
26}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29