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
Parameter | Description | Version |
$userId | User ID. | |
$fromStatus | Current user ID. | |
Example