Documentation

getAllowedUserStatuses

array public static
\Bitrix\Sale\StatusBase::getAllowedUserStatuses(
 integer|string $userId,
 string $fromStatus
);

Returns statuses available for user to update his/her current status. Static method.

Parameters

ParameterDescriptionVersion
$userIdUser ID.
$fromStatusCurrent user ID.

Example



© «Bitrix24», 2001-2024
Up