Documentation

detectType

array public static
\Bitrix\Vote\Uf\VoteUserType::detectType(
 mixed $value
);

Method detects type of attached object: exiting or new. Static method.

Parameters

ParameterDescriptionVersion
$valueFor existing attached object - a number, otherwise - n1, n2.

Example



© «Bitrix24», 2001-2024
Up