Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
lessthenoperator.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
LessThenOperator
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_LESS_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
Definition
baseoperator.php:8
Bitrix\Bizproc\Activity\Operator\BaseOperator\$value
$value
Definition
baseoperator.php:10
Bitrix\Bizproc\Activity\Operator\BaseOperator\$toCheck
$toCheck
Definition
baseoperator.php:9
Bitrix\Bizproc\Activity\Operator\LessThenOperator
Definition
lessthenoperator.php:9
Bitrix\Bizproc\Activity\Operator\LessThenOperator\getCode
static getCode()
Definition
lessthenoperator.php:10
Bitrix\Bizproc\Activity\Operator\LessThenOperator\compare
compare($toCheck, $value)
Definition
lessthenoperator.php:20
Bitrix\Bizproc\Activity\Operator\LessThenOperator\getTitle
static getTitle()
Definition
lessthenoperator.php:15
Bitrix\Bizproc\FieldType
Definition
fieldtype.php:12
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Bizproc\Activity\Operator
Definition
baseoperator.php:3
modules
bizproc
lib
activity
operator
lessthenoperator.php
Создано системой
1.10.0