method public static

UserTypePropertyEmployee::compareValues()

Класс: \Bitrix\Iblock\BizprocType\UserTypePropertyEmployee

Сигнатура

public static compareValues(mixed $valueA, mixed $valueB) : int

Параметры

$valueA mixed
Первое значение.
$valueB mixed
Значение секунды.

Возвращаемое значение

int

Как применяется в UserTypePropertyEmployee

UserTypePropertyEmployee::compareValues() — метод класса \Bitrix\Iblock\BizprocType\UserTypePropertyEmployee модуля «Информационные блоки».

Статический метод — вызывается через имя класса UserTypePropertyEmployee, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Iblock\BizprocType\UserTypePropertyEmployee;

Loader::includeModule('iblock');

$valueA = null;
$valueB = null;
$result = UserTypePropertyEmployee::compareValues($valueA, $valueB);
// $result: int

Другие методы UserTypePropertyEmployee

compareValues() есть и у других классов модуля «Информационные блоки»: UserTypeProperty, UserTypePropertyDiskFile, UserTypePropertyElist, UserTypePropertyHtml.

Исходный файл: source/iblock/lib/bizproctype/usertypepropertyemployee.php:852

Что будем искать? Например,Продвижение