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
Parameter | Description | Version |
---|---|---|
$userField | Array with user fields. | |
$value | Value. | |
$userId | Accepts value false or true . false - means current user. |
Example
© «Bitrix24», 2001-2024