Documentation

VoteUserType

VoteUserType class handles objects attached to polls.

Class methods

MethodDescription Available from version
checkFieldsChecks poll data field before writing into database.
checkSettingsChecks or adds a poll group.
detectTypeDetects type of attached object: existing or new.
getSettingsHTML Shows data in administrative section when you edit or add a user type.
onBeforeSaveHandler is called before saving in all cases Mutiple=Y and Multiple=N.
prepareSettingsPrepares data ("SETTINGS") for methods CUserTypeEntity::Add and CUserTypeEntity::Update.


© «Bitrix24», 2001-2024
Up