Documentation

onBeforeSave

integer|string public static
\Bitrix\Vote\Uf\VoteUserType::onBeforeSave(
 array $userField,
 string $value,
 integer $userId = false
);

Handler is called before saving in all cases Mutiple=Y and Multiple=N.

Parameters

ParameterDescriptionVersion
$userFieldArray with user fields parameters.
$valueObject binding value or n0, n1... when binding is unavailable.
$userIdUser ID.

Example



© «Bitrix24», 2001-2024
Up