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
Parameter | Description | Version |
---|---|---|
$userField | Array with user fields parameters. | |
$value | Object binding value or n0, n1... when binding is unavailable. | |
$userId | User ID. |
Example
© «Bitrix24», 2001-2024