method
public
static
VoteUserType::onBeforeSave()
Класс: \Bitrix\Vote\Uf\VoteUserType
Сигнатура
public static onBeforeSave(array<string|int, mixed> $userField, string $value[, int $userId = false ]) : int|string
Описание
Вызывается во всех случаях Mutiple=Y и Multiple=N
Параметры
$userField
array<string|int, mixed>
Массив UserFiled.
$value
string
Номер вложения или n0, n1...
$userId
int
= false
Идентификатор пользователя.
Возвращаемое значение
int|string
Исходный файл: source/vote/lib/uf/voteusertype.php:624

