Documentation

checkFields

array public static
\Bitrix\Vote\Uf\VoteUserType::checkFields(
 array $userField,
 mixed $value,
 boolean $userId = false
);

Method checks poll data fields before writing into database. Static method.

Parameters

ParameterDescriptionVersion
$userFieldArray with user fields.
$valueValue.
$userIdAccepts value false or true. false - means current user.

Example



© «Bitrix24», 2001-2024
Up