vote

Module Events vote

EventsCalled
onAfterVoteAddVoteTable :: onAfterAdd
onAfterVoteAnswerAddCVoteAnswer :: Add
onAfterVoteAnswerDeleteCVoteAnswer :: Delete
onAfterVoteAnswerUpdateCVoteAnswer :: Update
onAfterVoteChannelAddCVoteChannel :: Add
onAfterVoteChannelDeleteCVoteChannel :: Delete
onAfterVoteChannelUpdateCVoteChannel :: Update
onAfterVoteDeleteCVote :: Delete
onAfterVoteQuestionAddCVoteQuestion :: Add
onAfterVoteQuestionDeleteCVoteQuestion :: Delete
onAfterVoteQuestionUpdateCVoteQuestion :: Update
onAfterVoteUpdateVoteTable :: onAfterUpdate
onAfterVotingVote :: registerEvent
onBeforeVoteAddVoteTable :: onBeforeAdd
onBeforeVoteAnswerAddCVoteAnswer :: Add
onBeforeVoteAnswerDeleteCVoteAnswer :: Delete
onBeforeVoteAnswerUpdateCVoteAnswer :: Update
onBeforeVoteChannelAddCVoteChannel :: Add
onBeforeVoteChannelDeleteCVoteChannel :: Delete
onBeforeVoteChannelUpdateCVoteChannel :: Update
onBeforeVoteDeleteCVote :: Delete
onBeforeVoteQuestionAddCVoteQuestion :: Add
onBeforeVoteQuestionDeleteCVoteQuestion :: Delete
onBeforeVoteQuestionUpdateCVoteQuestion :: Update
onBeforeVoteUpdateVoteTable :: onBeforeUpdate
onBeforeVotingEvent :: add
onVoteQuestionActivateCVoteQuestion :: setActive
onVoteResetEvent :: resetStatistic

Constant module vote

ConstantChecked
BX_COMP_MANAGED_CACHEController :: getVoted
PUBLIC_AJAX_MODEController :: sendJsonResponse
SITE_SERVER_NAMEVote :: sendVotingMessage
VOTE_CACHE_TIMEChannel :: getList

List of module methods vote

Methods
Anonymity :: getList()
Anonymity :: getTitle()
Anonymity :: getTitledList()
Anonymity :: getValues()
Anonymity :: isUserVoteVisible(bool $userValue, int $voteValue)
Anonymity :: validate($value)
Answer :: add(Container $container, array $fields)
Answer :: copyChildren(Container $container, $entityId, $copiedEntityId)
Answer :: getFields(Container $container, $entityId)
Answer :: prepareFieldsToCopy(Container $container, array $fields)
Answer :: setResetVotingResult(bool $bool)
AnswerTable :: getMap()
AnswerTable :: getTableName()
AnswerTable :: setCounter(array $id, $increment = true)
AnswerTypes :: getFullList()
AnswerTypes :: getTitleById($id)
AnswerTypes :: getTitledList()
Attach :: canEdit($userId)
Attach :: canParticipate($userId)
Attach :: canRead($userId)
Attach :: canReadResult($userId)
Attach :: canRevote($userId)
Attach :: canVote($userId)
Attach :: checkData(array &$data)
Attach :: delete()
Attach :: exportExcel()
Attach :: fillStatistic()
Attach :: getAttachId()
Attach :: getConnector()
Attach :: getData($id)
Attach :: getDataByEntity(array $id)
Attach :: getEntityId()
Attach :: getEntityType()
Attach :: getModuleId()
Attach :: getStorage()
Attach :: getVoteId()
Attach :: init()
Attach :: isVotedFor($userId)
Attach :: loadFromId($id, $shouldBeNewIfIdIsNull = false)
Attach :: offsetExists($offset)
Attach :: offsetGet($offset)
Attach :: offsetSet($offset, $value)
Attach :: offsetUnset($offset)
Attach :: resume()
Attach :: save($data, $createdBy = 0)
Attach :: setStorage($id)
Attach :: setVote($vote)
Attach :: stop()
Attach :: voteFor(array $request)
AttachTable :: deleteByFilter(array $filter)
AttachTable :: getList(array $parameters = array())
AttachTable :: getMap()
AttachTable :: getTableName()
BaseObject :: canEdit($userId)
BaseObject :: canRead($userId)
BaseObject :: getApplication()
BaseObject :: getErrorByCode($code)
BaseObject :: getErrors()
BaseObject :: getId()
BaseObject :: getUser()
BaseObject :: init()
BaseObject :: loadFromId($id, $shouldBeNewIfIdIsNull = false)
BaseObject :: loadUserGroups($userId)
BaseObject :: shutdown()
BaseObject :: __construct($id)
BlogPostConnector :: canEdit($userId)
BlogPostConnector :: canRead($userId)
BlogPostConnector :: checkFields(&$data)
BlogPostConnector :: getPermission($userId)
BlogPostConnector :: getPostData($entityId)
Channel :: canEdit($userId)
Channel :: canEditVote($userId)
Channel :: canRead($userId)
Channel :: get($key)
Channel :: getById($id)
Channel :: getList(array $parameters)
Channel :: init()
Channel :: offsetExists($offset)
Channel :: offsetGet($offset)
Channel :: offsetSet($offset, $value)
Channel :: offsetUnset($offset)
Channel :: __construct($id)
ChannelGroupTable :: getMap()
ChannelGroupTable :: getTableName()
ChannelSiteTable :: getMap()
ChannelSiteTable :: getTableName()
ChannelTable :: getMap()
ChannelTable :: getTableName()
Connector :: buildFromAttachedObject(\Bitrix\Vote\Attach $attachedObject)
Connector :: canEdit($userId)
Connector :: canRead($userId)
Connector :: checkFields(&$data)
Connector :: className()
Connector :: getApplication()
Connector :: getDataToShow()
Connector :: getUser()
Connector :: __construct($entityId)
Controller :: checkAction()
Controller :: checkRequiredFilesParams(array $required)
Controller :: checkRequiredGetParams(array $required)
Controller :: checkRequiredInputParams(array $inputParams, array $required)
Controller :: checkRequiredPostParams(array $required)
Controller :: clearCache($voteId)
Controller :: collectDebugInfo()
Controller :: end()
Controller :: exec()
Controller :: getAction()
Controller :: getActionDescription()
Controller :: getApplication()
Controller :: getErrorByCode($code)
Controller :: getErrors()
Controller :: getUser()
Controller :: getVoted(array $cacheParams, array $pageParams)
Controller :: init()
Controller :: isAjaxRequest()
Controller :: listActions()
Controller :: logDebugInfo()
Controller :: normalizeActionDescription($action, $description)
Controller :: prepareParams()
Controller :: processActionExportXls()
Controller :: processActionGetBallot()
Controller :: processActionGetMobileVoted()
Controller :: processActionGetVoted()
Controller :: processActionResume()
Controller :: processActionStop()
Controller :: processActionVote()
Controller :: processBeforeAction($actionName)
Controller :: resolveAction()
Controller :: runAction()
Controller :: sanitizeActionName($actionName)
Controller :: sendJsonAccessDeniedResponse($message = '')
Controller :: sendJsonErrorResponse()
Controller :: sendJsonResponse($response, $params = null)
Controller :: sendJsonSuccessResponse(array $response = array())
Controller :: sendResponse($response)
Controller :: setAction($action, array $description)
Controller :: setActionName($action)
Controller :: __construct()
CVote :: Add($arFields, $strUploadDir = false)
CVote :: CheckFields($ACTION, &$arFields, $ID = 0)
CVote :: CheckVotingIP($VOTE_ID, $REMOTE_ADDR, $KEEP_IP_SEC, $params = array())
CVote :: Copy($ID)
CVote :: Delete($ID)
CVote :: err_mess()
CVote :: GetActiveVoteID($CHANNEL_ID)
CVote :: GetByID($ID)
CVote :: GetByIDEx($ID)
CVote :: GetDropDownList()
CVote :: GetFilterOperation($key)
CVote :: GetList(&$by, &$order, $arFilter=Array(), &$is_filtered)
CVote :: GetListEx($arOrder = array(), $arFilter = array())
CVote :: GetNextSort($CHANNEL_ID)
CVote :: GetNextStartDate($CHANNEL_ID)
CVote :: GetNowTime($ResultType = "timestamp")
CVote :: GetPublicList($arFilter=Array(), $strSqlOrder="ORDER BY C.C_SORT, C.ID, V.DATE_START desc", $params = array())
CVote :: IsOldVersion()
CVote :: keepVoting()
CVote :: Reset($ID)
CVote :: SetVoteUserID()
CVote :: Update($ID, $arFields, $strUploadDir = false)
CVote :: UpdateVoteUserID($VOTE_USER_ID)
CVote :: UserAlreadyVote($voteId, $VOTE_USER_ID, $UNIQUE_TYPE, $delay, $USER_ID = false)
CVote :: UserGroupPermission($CHANNEL_ID)
CVote :: WrongDateInterval($CURRENT_VOTE_ID, $DATE_START, $DATE_END, $CHANNEL_ID)
CVoteAnswer :: Add($arFields)
CVoteAnswer :: CheckFields($ACTION, &$arFields, $ID = 0)
CVoteAnswer :: Delete($ID, $QUESTION_ID = false, $VOTE_ID = false)
CVoteAnswer :: err_mess()
CVoteAnswer :: GetGroupAnswers($ANSWER_ID)
CVoteAnswer :: GetList($QUESTION_ID, $by="s_c_sort", $order="asc", $arFilter=array(), $arAddParams = array())
CVoteAnswer :: GetListEx($arOrder = array("ID" => "ASC"), $arFilter=array())
CVoteAnswer :: Update($ID, $arFields)
CVoteCacheManager :: cachePath($site_id)
CVoteCacheManager :: ClearTag($type, $ID=0)
CVoteCacheManager :: OnAfterVoteAnswerAdd($ID, $arFields)
CVoteCacheManager :: OnAfterVoteAnswerDelete($ID, $QUESTION_ID, $VOTE_ID)
CVoteCacheManager :: OnAfterVoteAnswerUpdate($ID, $arFields)
CVoteCacheManager :: OnAfterVoteChange($ID)
CVoteCacheManager :: OnAfterVoteChannelChange($ID, $arFields = array())
CVoteCacheManager :: OnAfterVoteQuestionAdd($ID, $arFields)
CVoteCacheManager :: OnAfterVoteQuestionDelete($ID, $VOTE_ID)
CVoteCacheManager :: OnAfterVoteQuestionUpdate($ID, $arFields)
CVoteCacheManager :: onAfterVoting($VOTE_ID, $EVENT_ID)
CVoteCacheManager :: OnBeforeVoteAnswerUpdate($ID, $arFields)
CVoteCacheManager :: OnBeforeVoteQuestionUpdate(&$ID, &$arFields)
CVoteCacheManager :: OnVoteChange(\Bitrix\Main\Entity\Event $event)
CVoteCacheManager :: SetTag($path, $tag, $ID = 0)
CVoteCacheManager :: __construct()
CVoteChannel :: Add($arFields)
CVoteChannel :: CheckFields($ACTION, &$arFields, $ID = 0)
CVoteChannel :: Delete($ID)
CVoteChannel :: err_mess()
CVoteChannel :: GetArrayGroupPermission($channel_id)
CVoteChannel :: GetByID($ID)
CVoteChannel :: GetDropDownList()
CVoteChannel :: GetGroupPermission($channel_id, $arGroups=false, $params = array())
CVoteChannel :: GetList(&$by, &$order, $arFilter=Array(), &$is_filtered)
CVoteChannel :: GetSiteArray($CHANNEL_ID)
CVoteChannel :: SetAccessPermissions($ID, $arGroups)
CVoteChannel :: Update($ID, $arFields)
CVoteDiagramType :: &getInstance()
CVoteDiagramType :: CVoteDiagramType($directCall=true)
CVoteEvent :: Delete($eventId)
CVoteEvent :: err_mess()
CVoteEvent :: GetAnswer($EVENT_ID, $ANSWER_ID)
CVoteEvent :: GetByID($ID)
CVoteEvent :: GetList(&$by, &$order, $arFilter=Array(), &$is_filtered, $get_user="N")
CVoteEvent :: GetUserAnswerStat($arSort = array(), $arFilter = array(), $arParams = array())
CVoteEvent :: SetValid($eventId, $valid)
CVoteNotifySchema :: OnGetNotifySchema()
CVoteNotifySchema :: __construct()
CVoteQuestion :: Add($arFields, $strUploadDir = false)
CVoteQuestion :: CheckFields($ACTION, &$arFields, $ID = 0)
CVoteQuestion :: Copy($ID, $newVoteID)
CVoteQuestion :: Delete($ID, $VOTE_ID = false)
CVoteQuestion :: err_mess()
CVoteQuestion :: GetByID($ID)
CVoteQuestion :: GetList($VOTE_ID, &$by, &$order, $arFilter=Array(), &$is_filtered)
CVoteQuestion :: GetListEx($arOrder = array("ID" => "ASC"), $arFilter=array())
CVoteQuestion :: GetNextSort($VOTE_ID)
CVoteQuestion :: Reset($ID, $VOTE_ID = false)
CVoteQuestion :: setActive($ID, $activate = true)
CVoteQuestion :: Update($ID, $arFields, $strUploadDir = false)
CVoteUser :: Delete($USER_ID)
CVoteUser :: err_mess()
CVoteUser :: GetList(&$by, &$order, $arFilter=Array(), &$is_filtered)
CVoteUser :: OnUserLogin()
DBResult :: fetch()
DefaultConnector :: canEdit($userId)
DefaultConnector :: canRead($userId)
DefaultConnector :: getStorage()
DefaultConnector :: isStorable()
DefaultConnector :: setStorage(Channel $channel)
Diag :: activate()
Diag :: collectDebugInfo($uniqueId)
Diag :: deactivate()
Diag :: getDebugInfoSql()
Diag :: getInstance()
Diag :: getUser()
Diag :: log($data)
Diag :: logDebugInfo($uniqueId, $label = null)
Diag :: reformatBackTrace(array $backtrace)
Diag :: setExclusiveUserId($exclusiveUserId)
Diag :: setShowOnDisplay($showOnDisplay)
Diag :: __construct()
Event :: add(array $eventFields, array $ballot, $setCounter = true)
Event :: calculateStatistic($voteId)
Event :: check(array $ballot)
Event :: deleteEvent($eventId)
Event :: getDataFromRequest($id, array $request)
Event :: getExtrasFieldName($id, $name)
Event :: getFieldName($id, $questionId)
Event :: getMessageFieldName($id, $questionId, $answerId)
Event :: resetStatistic($voteId)
Event :: setValid($eventId, $valid)
Event :: __construct(\Bitrix\Vote\Vote $vote)
EventAnswerTable :: getMap()
EventAnswerTable :: getTableName()
EventLimits :: getList()
EventQuestionTable :: getMap()
EventQuestionTable :: getTableName()
EventTable :: getMap()
EventTable :: getTableName()
ForumMessageConnector :: canEdit($userId)
ForumMessageConnector :: canRead($userId)
Manager :: belongsToEntity(Attach $attachedObject, $entityType, $entityId)
Manager :: buildAdditionalConnectorList()
Manager :: detachByFilter(array $filter)
Manager :: getAdditionalConnector($entityType)
Manager :: getAdditionalConnectors()
Manager :: getAnswerCopier()
Manager :: getConnectorDataByEntityType($entityType)
Manager :: getConnectors()
Manager :: getContainerCollection()
Manager :: getDefaultConnectors()
Manager :: getErrors()
Manager :: getInstance(array $params)
Manager :: getQuestionCopier()
Manager :: getVoteCopier()
Manager :: loadEmptyAttach(array $attach, array $voteParams)
Manager :: loadEmptyObject()
Manager :: loadFromAttachId($id)
Manager :: loadFromEntity(array $filter)
Manager :: loadFromVoteId(array $attach, $id)
Manager :: markAnswer($marker)
Manager :: markQuestion($marker)
Manager :: setResetVotingResult(bool $bool)
Manager :: showEdit(&$params, &$result, $component = null)
Manager :: showView(&$params, &$result, $component = null)
Manager :: startCopy()
Manager :: __construct(array $voteIdsToCopy)
Option :: getList()
Question :: add(Container $container, array $fields)
Question :: copyAnswer(int $questionId, int $copiedQuestionId)
Question :: copyChildren(Container $container, $entityId, $copiedEntityId)
Question :: getFields(Container $container, $entityId)
Question :: prepareFieldsToCopy(Container $container, array $fields)
Question :: setAnswerCopier(EntityCopier $answerCopier)
Question :: setResetVotingResult(bool $bool)
QuestionTable :: getMap()
QuestionTable :: getTableName()
QuestionTable :: setCounter(array $id, $increment = true)
QuestionTypes :: getFullList()
QuestionTypes :: getList()
QuestionTypes :: getTitleById($id)
QuestionTypes :: getTitledList()
QuestionTypes :: getValues()
User :: getCookieId()
User :: getCurrent()
User :: getVotedUserId()
User :: init()
User :: isUserVotedFor($voteId, $userId)
User :: isVotedFor($voteId)
User :: onUserLogin()
User :: setCookieId($id)
User :: setVotedUserId($incrementCount = null)
UserTable :: getMap()
UserTable :: getTableName()
UserTable :: setCounter(array $id, $increment = true)
Vote :: add(Container $container, array $fields)
Vote :: canEdit($userId)
Vote :: canParticipate($userId)
Vote :: canRead($userId)
Vote :: canReadResult($user)
Vote :: canRevote($user)
Vote :: canVote($user)
Vote :: checkData(array &$data, $voteId = 0)
Vote :: clearCache()
Vote :: clearVotingCache()
Vote :: copyChildren(Container $container, $entityId, $copiedEntityId)
Vote :: copyEvents($voteId, $copiedVoteId, Result $result)
Vote :: copyQuestion(int $voteId, int $copiedVoteId)
Vote :: delete($id)
vote :: DoInstall()
vote :: DoUninstall()
Vote :: exportExcel($type = "html")
Vote :: fillStatistic()
Vote :: get($key)
Vote :: getChannel()
Vote :: getCopiedIdsRelation(Result $result)
Vote :: getData($id)
Vote :: getDataFromRequest(array $request)
Vote :: getEventBallots($voteId, $copiedIdsRelation)
Vote :: getFields(Container $container, $entityId)
Vote :: getQuestion(int $id)
Vote :: getQuestions()
Vote :: getStatistic()
Vote :: init()
vote :: InstallDB($arParams = array())
vote :: InstallEvents()
vote :: InstallFiles($arParams = array())
vote :: InstallUserFields($moduleId = "all")
Vote :: isVotedFor($userId)
Vote :: offsetExists($offset)
Vote :: offsetGet($offset)
Vote :: offsetSet($offset, $value)
Vote :: offsetUnset($offset)
Vote :: prepareFieldsToCopy(Container $container, array $fields)
Vote :: registerEvent(array $data, array $params, \Bitrix\Vote\User $user)
Vote :: resume()
Vote :: saveData($voteId, array $data)
Vote :: sendVotingMessage(array $event, $vote, $type = "im")
Vote :: setQuestionCopier(EntityCopier $questionCopier)
Vote :: setResetVotingResult(bool $bool)
Vote :: stop()
vote :: UnInstallDB($arParams = array())
vote :: UnInstallEvents()
vote :: UnInstallFiles()
vote :: UnInstallUserFields()
vote :: vote()
Vote :: voteFor(array $request, $params = [])
Vote :: __construct($id)
VoteTable :: checkFields(Result $result, $primary, array $data)
VoteTable :: getMap()
VoteTable :: getTableName()
VoteTable :: modifyData(\Bitrix\Main\ORM\Event $event, \Bitrix\Main\ORM\EventResult $result)
VoteTable :: onAfterAdd(\Bitrix\Main\ORM\Event $event)
VoteTable :: onAfterUpdate(\Bitrix\Main\ORM\Event $event)
VoteTable :: onBeforeAdd(\Bitrix\Main\ORM\Event $event)
VoteTable :: onBeforeUpdate(\Bitrix\Main\ORM\Event $event)
VoteTable :: setCounter(array $id, $increment = true)
VoteTable :: validateActivityDate($value, $primary, $row, $field)
VoteUserType :: checkFields($userField, $value, $userId = false)
VoteUserType :: checkSettings(&$params)
VoteUserType :: detectType($value)
VoteUserType :: getAdminListEditHTML($userField, $htmlControl)
VoteUserType :: getAdminListEditHTMLMulty($userField, $htmlControl)
VoteUserType :: getAdminListViewHTML($userField, $htmlControl)
VoteUserType :: getDBColumnType($userField)
VoteUserType :: getEditFormHTML($userField, $value)
VoteUserType :: getFilterHTML()
VoteUserType :: getPublicViewHTML($userField, $value)
VoteUserType :: getSettingsHTML($userField = false, $htmlControl, $varsFromForm)
VoteUserType :: getUserTypeDescription()
VoteUserType :: onBeforeCopy(array $userField, int $newEntityId, $attachedId, $implementer, $userId = false)
VoteUserType :: onBeforePostUserFieldUpdate($entityId, $ID, $fields)
VoteUserType :: onBeforeSave($userField, $value, $userId = false)
VoteUserType :: onDelete($userField, $value)
VoteUserType :: onSearchIndex($userField)
VoteUserType :: prepareSettings($userField)
_CVoteDBResult :: Fetch()
_CVoteDBResult :: _CVoteDBResult($res, $params = array())