Documentation

getAlternative

string|null public static
\Bitrix\ABTest\Helper::getAlternative(
 string $type,
 string $value
);

Static method returns values for alternative variant for current A/B testing context.

Parameters

ParameterDescriptionVersion
$typeTesting type.
$valueOriginal variant value.


© «Bitrix24», 2001-2024