Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
emptyoperator.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
EmptyOperator
extends
BaseOperator
9
{
10
public
static
function
getCode
(): string
11
{
12
return
'empty'
;
13
}
14
15
public
static
function
getTitle
(): string
16
{
17
return
Loc::getMessage
(
'BIZPROC_ACTIVITY_CONDITION_OPERATORS_EMPTY_OPERATOR_TITLE'
) ??
''
;
18
}
19
20
protected
function
toBaseType
(): void
21
{}
22
23
public
function
check
(): bool
24
{
25
return \CBPHelper::isEmptyValue($this->toCheck);
26
}
27
}
Bitrix\Bizproc\Activity\Operator\BaseOperator
Definition
baseoperator.php:8
Bitrix\Bizproc\Activity\Operator\EmptyOperator
Definition
emptyoperator.php:9
Bitrix\Bizproc\Activity\Operator\EmptyOperator\toBaseType
toBaseType()
Definition
emptyoperator.php:20
Bitrix\Bizproc\Activity\Operator\EmptyOperator\getCode
static getCode()
Definition
emptyoperator.php:10
Bitrix\Bizproc\Activity\Operator\EmptyOperator\check
check()
Definition
emptyoperator.php:23
Bitrix\Bizproc\Activity\Operator\EmptyOperator\getTitle
static getTitle()
Definition
emptyoperator.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
emptyoperator.php
Создано системой
1.10.0