1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
greaterthenoperator.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Bizproc\Activity\Operator;
4
5
use Bitrix\Bizproc\FieldType;
6
use Bitrix\Main\Localization\Loc;
7
8
class
GreaterThenOperator
extends
BaseOperator
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_GREATER_THEN_OPERATOR_TITLE'
) ??
''
;
18
}
19
20
protected
function
compare
(
$toCheck
,
$value
): bool
21
{
22
$typeClass = $this->fieldType->getTypeClass();
23
24
return
$typeClass::compareValues(
$toCheck
,
$value
) === 1;
25
}
26
}
Bitrix\Bizproc\Activity\Operator\BaseOperator
Определения
baseoperator.php:8
Bitrix\Bizproc\Activity\Operator\BaseOperator\$value
$value
Определения
baseoperator.php:10
Bitrix\Bizproc\Activity\Operator\BaseOperator\$toCheck
$toCheck
Определения
baseoperator.php:9
Bitrix\Bizproc\Activity\Operator\GreaterThenOperator
Определения
greaterthenoperator.php:9
Bitrix\Bizproc\Activity\Operator\GreaterThenOperator\getCode
static getCode()
Определения
greaterthenoperator.php:10
Bitrix\Bizproc\Activity\Operator\GreaterThenOperator\compare
compare($toCheck, $value)
Определения
greaterthenoperator.php:20
Bitrix\Bizproc\Activity\Operator\GreaterThenOperator\getTitle
static getTitle()
Определения
greaterthenoperator.php:15
bitrix
modules
bizproc
lib
activity
operator
greaterthenoperator.php
Создано системой
1.14.0