form

Module Events form

EventsCalled
OnAfterFormCrmAddCFormCrm :: Add
OnAfterFormCrmDeleteCFormCrm :: Delete
OnAfterFormCrmUpdateCFormCrm :: Update
onAfterResultAddCFormResult :: Add
onAfterResultStatusChangeCFormResult :: SetStatus
onAfterResultUpdateCFormResult :: Update
OnBeforeFormCrmAddCFormCrm :: Add
OnBeforeFormCrmDeleteCFormCrm :: Delete
OnBeforeFormCrmUpdateCFormCrm :: Update
onBeforeResultAddCFormResult :: Add
onBeforeResultDeleteCFormResult :: Delete
onBeforeResultStatusChangeCFormResult :: SetStatus
onBeforeResultUpdateCFormResult :: Update
onFormValidatorBuildListCFormValidator :: GetAllList

Constant module form

ConstantChecked
ADMIN_SECTIONCForm :: Check
SITE_IDCFormResult :: Mail

List of module methods form

Methods
CForm :: Check($WEB_FORM_ID, $arrVALUES=false, $RESULT_ID=false, $CHECK_RIGHTS="Y", $RETURN_ARRAY="N")
CForm :: CheckFields($arFields, $FORM_ID, $CHECK_RIGHTS="Y")
CForm :: Copy($ID, $CHECK_RIGHTS="Y")
CForm :: Delete($ID, $CHECK_RIGHTS="Y")
CForm :: err_mess()
CForm :: ExecHandlerAfterChangeStatus($RESULT_ID, $ACTION)
CForm :: ExecHandlerBeforeChangeStatus($RESULT_ID, $ACTION, $NEW_STATUS_ID=0)
CForm :: GetByID($ID, $GET_BY_SID="N")
CForm :: GetByID_admin($WEB_FORM_ID, $current_section = false)
CForm :: GetBySID($SID)
CForm :: GetCheckBoxField($FIELD_NAME, $FIELD_ID, $VALUE="", $PARAM="")
CForm :: GetCheckBoxValue($FIELD_NAME, $arAnswer, $arrVALUES=false)
CForm :: GetCrmFlagFilter($FID, $field="class=\"inputselect\"")
CForm :: GetDataByID($WEB_FORM_ID, &$arForm, &$arQuestions, &$arAnswers, &$arDropDown, &$arMultiSelect, $additional="N", $active="N")
CForm :: GetDateField($FIELD_NAME, $FORM_NAME, $VALUE="", $FIELD_WIDTH="", $PARAM="")
CForm :: GetDateFilter($FID, $form_name="form1", $show_select="Y", $field_select="class=\"inputselect\"", $field_input="class=\"inputtext\"")
CForm :: GetDateValue($FIELD_NAME, $arAnswer, $arrVALUES=false)
CForm :: GetDropDownField($FIELD_NAME, $arDropDown, $VALUE, $PARAM="")
CForm :: GetDropDownFilter($ID, $PARAMETER_NAME, $FID, $field="class=\"inputselect\"")
CForm :: GetDropDownValue($FIELD_NAME, $arDropDown, $arrVALUES=false)
CForm :: GetEmailField($FIELD_NAME, $VALUE="", $SIZE="", $PARAM="")
CForm :: GetEmailValue($FIELD_NAME, $arAnswer, $arrVALUES=false)
CForm :: GetExistFlagFilter($FID, $field="class=\"inputcheckbox\"")
CForm :: GetFileField($FIELD_NAME, $WIDTH="", $FILE_TYPE="IMAGE", $MAX_FILE_SIZE=0, $VALUE="", $PARAM_FILE="", $PARAM_CHECKBOX="")
CForm :: GetFormTemplateByID($ID, $GET_BY_SID="N")
CForm :: GetHiddenField($FIELD_NAME, $VALUE="", $PARAM="")
CForm :: GetHiddenValue($FIELD_NAME, $arAnswer, $arrVALUES=false)
CForm :: GetList(&$by, &$order, $arFilter=Array(), &$is_filtered, $min_permission=10)
CForm :: GetMailTemplateArray($FORM_ID)
CForm :: GetMenuList($arFilter=Array(), $check_rights="Y")
CForm :: GetMultiSelectField($FIELD_NAME, $arMultiSelect, $arSELECTED=array(), $HEIGHT="", $PARAM="")
CForm :: GetMultiSelectValue($FIELD_NAME, $arMultiSelect, $arrVALUES=false)
CForm :: GetNextSort()
CForm :: GetNumberFilter($FID, $size="10", $field="class=\"inputtext\"")
CForm :: GetPasswordField($FIELD_NAME, $VALUE="", $SIZE="", $PARAM="")
CForm :: GetPasswordValue($FIELD_NAME, $arAnswer, $arrVALUES=false)
CForm :: GetPermission($form_id, $arGroups=false, $get_from_database="")
CForm :: GetPermissionList($get_default="Y")
CForm :: GetRadioField($FIELD_NAME, $FIELD_ID, $VALUE="", $PARAM="")
CForm :: GetRadioValue($FIELD_NAME, $arAnswer, $arrVALUES=false)
CForm :: GetResultAnswerArray($WEB_FORM_ID, &$arrColumns, &$arrAnswers, &$arrAnswersSID, $arFilter=Array())
CForm :: GetSiteArray($FORM_ID)
CForm :: GetTemplateList($type="SHOW", $path="xxx", $WEB_FORM_ID=0)
CForm :: GetTextAreaField($FIELD_NAME, $WIDTH="", $HEIGHT="", $PARAM="", $VALUE="")
CForm :: GetTextAreaValue($FIELD_NAME, $arAnswer, $arrVALUES=false)
CForm :: GetTextField($FIELD_NAME, $VALUE="", $SIZE="", $PARAM="")
CForm :: GetTextFilter($FID, $size="45", $field_text="class=\"inputtext\"", $field_checkbox="class=\"inputcheckbox\"")
CForm :: GetTextValue($FIELD_NAME, $arAnswer, $arrVALUES=false)
CForm :: GetUrlField($FIELD_NAME, $VALUE="", $SIZE="", $PARAM="")
CForm :: GetUrlValue($FIELD_NAME, $arAnswer, $arrVALUES=false)
CForm :: IsAdmin()
CForm :: isCAPTCHAInTemplate($tpl)
CForm :: isFieldInTemplate($FIELD_SID, $tpl)
CForm :: Reset($ID, $CHECK_RIGHTS="Y")
CForm :: Set($arFields, $FORM_ID=false, $CHECK_RIGHTS="Y")
CForm :: SetMailTemplate($WEB_FORM_ID, $ADD_NEW_TEMPLATE="Y", $old_SID="", $bReturnFullInfo = false)
CForm :: ShowRequired($flag)
CForm :: __check_PushError(&$container, $MESSAGE, $key = false)
CFormAnswer :: CheckFields($arFields, $ANSWER_ID=false)
CFormAnswer :: Copy($ID, $NEW_QUESTION_ID=false)
CFormAnswer :: Delete($ID, $QUESTION_ID=false)
CFormAnswer :: err_mess()
CFormAnswer :: GetByID($ID)
CFormAnswer :: GetList($QUESTION_ID, &$by, &$order, $arFilter=Array(), &$is_filtered)
CFormAnswer :: GetTypeList()
CFormAnswer :: Set($arFields, $ANSWER_ID=false)
CFormCrm :: Add($arFields)
CFormCrm :: AddLead($FORM_ID, $RESULT_ID, $arLink = null)
CFormCrm :: CheckFields($action, &$arFields)
CFormCrm :: Delete($ID)
CFormCrm :: GetByFormID($FORM_ID)
CFormCrm :: GetByID($ID)
CFormCrm :: GetFields($LINK_ID)
CFormCrm :: GetFilterOperation($key)
CFormCrm :: GetList($arOrder = array(), $arFilter = array(), $arGroupBy = false, $arNavStartParams = false, $arSelectFields = array())
CFormCrm :: onResultAdded($FORM_ID, $RESULT_ID)
CFormCrm :: PrepareSql(&$arFields, $arOrder, &$arFilter, $arGroupBy, $arSelectFields)
CFormCrm :: SetForm($FORM_ID, $arParams)
CFormCrm :: Update($ID, $arFields)
CFormCrm :: _addField($FORM_ID, $CRM_ID, $crm_field)
CFormCrm :: _getAllFormFields($WEB_FORM_ID, $RESULT_ID, $arAnswers)
CFormCrm :: _getAllFormFieldsHTML($WEB_FORM_ID, $RESULT_ID, $arAnswers)
CFormCrmSender :: AddLead($arLeadFields)
CFormCrmSender :: GetAuthHash()
CFormCrmSender :: GetFields($bReload = false)
CFormCrmSender :: GetLastResult()
CFormCrmSender :: _cacheId()
CFormCrmSender :: _query($method, $params = array())
CFormCrmSender :: _setAuthHash($hash)
CFormCrmSender :: __construct($ID, $arAuth = null)
CFormEventHandlers :: sendOnAfterResultStatusChange($WEB_FORM_ID, $RESULT_ID, $NEW_STATUS_ID = false, $CHECK_RIGHTS = 'Y')
CFormField :: CheckFields(&$arFields, $FIELD_ID, $CHECK_RIGHTS="Y")
CFormField :: Copy($ID, $CHECK_RIGHTS="Y", $NEW_FORM_ID=false)
CFormField :: Delete($ID, $CHECK_RIGHTS="Y")
CFormField :: err_mess()
CFormField :: GetByID($ID)
CFormField :: GetBySID($SID, $FORM_ID = false)
CFormField :: GetFilterList($WEB_FORM_ID, $arFilter=Array())
CFormField :: GetFilterTypeList(&$arrUSER, &$arrANSWER_TEXT, &$arrANSWER_VALUE, &$arrFIELD)
CFormField :: GetList($WEB_FORM_ID, $get_fields, &$by, &$order, $arFilter=Array(), &$is_filtered)
CFormField :: GetNextSort($WEB_FORM_ID)
CFormField :: GetTypeList()
CFormField :: Reset($ID, $CHECK_RIGHTS="Y")
CFormField :: Set($arFields, $FIELD_ID=false, $CHECK_RIGHTS="Y", $UPDATE_FILTER="Y")
CFormOutput :: CAllFormOutput()
CFormOutput :: CFormOutput()
CFormOutput :: CheckTemplate($FORM_TEMPLATE, &$arrFS)
CFormOutput :: err_mess()
CFormOutput :: getFormImagePath()
CFormOutput :: getInputCaptionImagePath($FIELD_SID)
CFormOutput :: GetResultStatusCSSClass()
CFormOutput :: IncludeFormCustomTemplate()
CFormOutput :: IncludeFormTemplate()
CFormOutput :: InitializeTemplate($arParams, $arResult)
CFormOutput :: isAccessForm()
CFormOutput :: isAccessFormParams()
CFormOutput :: isAccessFormResult($arrResult)
CFormOutput :: isAccessFormResultEdit()
CFormOutput :: isAccessFormResultList()
CFormOutput :: isAccessFormResultView()
CFormOutput :: isFormDescription()
CFormOutput :: isFormErrors()
CFormOutput :: isFormImage()
CFormOutput :: isFormNote()
CFormOutput :: isFormTitle()
CFormOutput :: isInputCaptionImage($FIELD_SID)
CFormOutput :: isResultStatusChangeAccess()
CFormOutput :: isStatisticIncluded()
CFormOutput :: isUseCaptcha()
CFormOutput :: PrepareFormData($arrFS)
CFormOutput :: setError($error)
CFormOutput :: setInputDefaultValue($FIELD_SID, $value, $ANSWER_ID = false)
CFormOutput :: ShowApplyButton($caption = "", $css_style = "")
CFormOutput :: ShowCaptcha()
CFormOutput :: ShowCaptchaField()
CFormOutput :: ShowCaptchaImage()
CFormOutput :: ShowDateFormat($css_style = "")
CFormOutput :: ShowErrorMsg()
CFormOutput :: ShowFormDescription($css_style = "")
CFormOutput :: ShowFormErrors()
CFormOutput :: ShowFormErrorsText()
CFormOutput :: ShowFormFooter()
CFormOutput :: ShowFormHeader()
CFormOutput :: ShowFormImage($sAlign = "", $iMaxW="", $iMaxH="", $bPopup="N", $strPopupTitle="", $sHSpace = "", $sVSpace = "", $sBorder = "")
CFormOutput :: ShowFormNote()
CFormOutput :: ShowFormNoteText()
CFormOutput :: ShowFormTitle($css_style = "")
CFormOutput :: ShowInput($FIELD_SID, $caption_css_class = '')
CFormOutput :: ShowInputCaption($FIELD_SID, $css_style = "")
CFormOutput :: ShowInputCaptionImage($FIELD_SID, $sAlign = "", $iMaxW="", $iMaxH="", $bPopup="N", $strPopupTitle="", $sHSpace = "", $sVSpace = "", $sBorder = "")
CFormOutput :: ShowRequired()
CFormOutput :: ShowResetButton($caption = "", $css_style = "")
CFormOutput :: ShowResultStatus($bNotShowCSS = "N")
CFormOutput :: ShowResultStatusForm()
CFormOutput :: ShowResultStatusText()
CFormOutput :: ShowSubmitButton($caption = "", $css_style = "")
CFormOutput :: __admin_GetInputAnswersStructure($FIELD_SID)
CFormOutput :: __admin_GetInputType($FIELD_SID)
CFormOutput :: __admin_ShowInputCaption($FIELD_SID, $caption_css_class = "", $unform = false)
CFormOutput :: __check_form_cache()
CFormOutput :: __clear_form_cache_files()
CFormOutput_old :: CaptchaInitialize()
CFormOutput_old :: getData(&$arResult)
CFormOutput_old :: getListData()
CFormOutput_old :: Init($arParams, $admin = false)
CFormOutput_old :: Out()
CFormOutput_old :: ShowAnswer($FIELD_SID)
CFormOutput_old :: __checkFilter(&$str_error)
CFormOutput_old :: __prepareDataForTpl()
CFormOutput_old :: __prepareFilter()
CFormResult :: Add($WEB_FORM_ID, $arrVALUES=false, $CHECK_RIGHTS="Y", $USER_ID=false)
CFormResult :: AddAnswer($arFields)
CFormResult :: Delete($RESULT_ID, $CHECK_RIGHTS="Y")
CFormResult :: err_mess()
CFormResult :: GetByID($ID)
CFormResult :: GetCount($WEB_FORM_ID)
CFormResult :: GetDataByID($RESULT_ID, $arrFIELD_SID, &$arrRES, &$arrANSWER)
CFormResult :: GetDataByIDForHTML($RESULT_ID, $GET_ADDITIONAL="N")
CFormResult :: GetFileByAnswerID($RESULT_ID, $ANSWER_ID)
CFormResult :: GetFileByHash($RESULT_ID, $HASH)
CFormResult :: GetList($WEB_FORM_ID, &$by, &$order, $arFilter=Array(), &$is_filtered, $CHECK_RIGHTS="Y", $records_limit=false)
CFormResult :: GetPermissions($RESULT_ID, &$CURRENT_STATUS_ID)
CFormResult :: Mail($RESULT_ID, $TEMPLATE_ID = false)
CFormResult :: PrepareFilter($WEB_FORM_ID, $arFilter)
CFormResult :: Reset($RESULT_ID, $DELETE_FILES=true, $DELETE_ADDITIONAL="N", $arrException=array())
CFormResult :: SetCRMFlag($RESULT_ID, $flag_value)
CFormResult :: SetEvent($RESULT_ID, $IN_EVENT1=false, $IN_EVENT2=false, $IN_EVENT3=false, $money="", $currency="", $goto="", $chargeback="N")
CFormResult :: SetField($RESULT_ID, $FIELD_SID, $VALUE=false)
CFormResult :: SetStatus($RESULT_ID, $NEW_STATUS_ID, $CHECK_RIGHTS="Y")
CFormResult :: Update($RESULT_ID, $arrVALUES=false, $UPDATE_ADDITIONAL="N", $CHECK_RIGHTS="Y")
CFormResult :: UpdateField($arFields, $RESULT_ID, $FIELD_ID)
CFormResult_old :: Edit($RESULT_ID, $arrVALUES, $TEMPLATE="", $EDIT_ADDITIONAL="N", $EDIT_STATUS="N")
CFormResult_old :: GetDataByIDForWeb($RESULT_ID, $GET_ADDITIONAL="N")
CFormResult_old :: GetMaxPermissions()
CFormResult_old :: Show($RESULT_ID, $TEMPLATE="", $TEMPLATE_TYPE="show", $SHOW_ADDITIONAL="N", $SHOW_ANSWER_VALUE="Y", $SHOW_STATUS="N")
CFormStatus :: CheckFields($arFields, $STATUS_ID, $CHECK_RIGHTS="Y")
CFormStatus :: Copy($ID, $CHECK_RIGHTS="Y", $NEW_FORM_ID=false)
CFormStatus :: Delete($ID, $CHECK_RIGHTS="Y")
CFormStatus :: err_mess()
CFormStatus :: GetByID($ID)
CFormStatus :: GetDefault($WEB_FORM_ID)
CFormStatus :: GetDropdown($FORM_ID, $PERMISSION = array("MOVE"), $OWNER_ID=0)
CFormStatus :: GetList($FORM_ID, &$by, &$order, $arFilter=array(), &$is_filtered)
CFormStatus :: GetMailTemplateArray($STATUS_ID)
CFormStatus :: GetMaxPermissions()
CFormStatus :: GetNextSort($WEB_FORM_ID)
CFormStatus :: GetPermissionList($STATUS_ID, &$arPERMISSION_VIEW, &$arPERMISSION_MOVE, &$arPERMISSION_EDIT, &$arPERMISSION_DELETE)
CFormStatus :: GetPermissions($STATUS_ID)
CFormStatus :: GetTemplateList($STATUS_ID)
CFormStatus :: Set($arFields, $STATUS_ID=false, $CHECK_RIGHTS="Y")
CFormStatus :: SetMailTemplate($WEB_FORM_ID, $STATUS_ID, $ADD_NEW_TEMPLATE="Y", $old_SID="", $bReturnFullInfo = false)
CFormValidator :: Clear($FIELD_ID)
CFormValidator :: err_mess()
CFormValidator :: Execute($arValidator, $arQuestion, $arAnswers, $arAnswerValues)
CFormValidator :: GetAllList($arFilter = array())
CFormValidator :: GetList($FIELD_ID, $arFilter = array(), &$by, &$order)
CFormValidator :: GetListForm($WEB_FORM_ID, $arFilter = array(), &$by, &$order)
CFormValidator :: GetSettings($arValidator)
CFormValidator :: GetSettingsArray($arValidator, $strParams)
CFormValidator :: GetSettingsString($arValidator, $arParams)
CFormValidator :: Set($WEB_FORM_ID, $FIELD_ID, $sValSID, $arParams = array(), $C_SORT = 100)
CFormValidator :: SetBatch($WEB_FORM_ID, $FIELD_ID, $arValidators)
CFormValidator :: __getList($arFilter = array(), &$by, &$order)
CForm_old :: Add($WEB_FORM_ID, $arrVALUES=false, $CHECK_RIGHTS="Y", $USER_ID=false)
CForm_old :: AddResultAnswer($arFields)
CForm_old :: DeleteAnswer($ID)
CForm_old :: DeleteField($WEB_FORM_ID, $ID, $CHECK_RIGHTS="Y")
CForm_old :: DeleteResult($ID, $CHECK_RIGHTS="Y")
CForm_old :: EditResult($RESULT_ID, $arrVALUES, $TEMPLATE="", $EDIT_ADDITIONAL="N", $EDIT_STATUS="N")
CForm_old :: GetAdditionaFieldTypeList()
CForm_old :: GetAnswerByID($ID)
CForm_old :: GetAnswerList($FIELD_ID, &$by, &$order, $arFilter=Array(), &$is_filtered)
CForm_old :: GetAnswerTypeList()
CForm_old :: GetByVarname($VARNAME)
CForm_old :: GetClosedFields($WEB_FORM_ID, $arrFields)
CForm_old :: GetDefaultStatus($WEB_FORM_ID)
CForm_old :: GetFieldByID($ID)
CForm_old :: GetFieldByVarname($SID)
CForm_old :: GetFieldList($WEB_FORM_ID, $additional, &$by, &$order, $arFilter=Array(), &$is_filtered)
CForm_old :: GetFileValue($RESULT_ID, $ANSWER_ID)
CForm_old :: GetFilterList($WEB_FORM_ID, $arFilter=Array())
CForm_old :: GetFilterTypeList(&$arrUSER, &$arrANSWER_TEXT, &$arrANSWER_VALUE, &$arrFIELD)
CForm_old :: GetNextStatusSort($WEB_FORM_ID)
CForm_old :: GetResultByID($RESULT_ID)
CForm_old :: GetResultFields($RESULT_ID, $arrFIELD_VARNAME, &$arrRES, &$arrANSWER)
CForm_old :: GetResultList($WEB_FORM_ID, &$by, &$order, $arFilter=Array(), &$is_filtered, $CHECK_RIGHTS="Y", $records_limit=false)
CForm_old :: GetResultPermission($RESULT_ID, &$CURRENT_STATUS_ID)
CForm_old :: GetResultsCount($WEB_FORM_ID)
CForm_old :: GetResultValuesFromDB($RESULT_ID, $GET_ADDITIONAL="N")
CForm_old :: GetStatusByID($ID)
CForm_old :: GetStatusDropdown($WEB_FORM_ID, $PERMISSION="MOVE", $OWNER_ID=0)
CForm_old :: GetStatusList($WEB_FORM_ID, &$by, &$order, $arFilter=array(), &$is_filtered)
CForm_old :: GetStatusPermission($STATUS_ID)
CForm_old :: IsOldVersion()
CForm_old :: Mail($RESULT_ID, $TEMPLATE_ID="")
CForm_old :: PrepareResultFilter($WEB_FORM_ID, $arFilter)
CForm_old :: ResetField($WEB_FORM_ID, $ID, $CHECK_RIGHTS="Y")
CForm_old :: ResetResult($ID, $WEB_FORM_ID, $DELETE_IMAGES=true, $DELETE_ADDITIONAL="N", $arrException=array())
CForm_old :: SetEvent($RESULT_ID, $IN_EVENT1=false, $IN_EVENT2=false, $IN_EVENT3=false, $money="", $currency="", $goto="", $chargeback="N")
CForm_old :: SetResultField($RESULT_ID, $FIELD_VARNAME, $VALUE)
CForm_old :: SetResultStatus($WEB_FORM_ID, $RESULT_ID, $NEW_STATUS_ID, $CHECK_RIGHTS="Y")
CForm_old :: Show($WEB_FORM_VARNAME, $arrVALUES=false, $SHOW_TEMPLATE=false, $PREVIEW="N")
CForm_old :: ShowResult($RESULT_ID, $TEMPLATE="", $TEMPLATE_TYPE="show", $SHOW_ADDITIONAL="N", $SHOW_ANSWER_VALUE="Y", $SHOW_STATUS="N")
CForm_old :: Update($RESULT_ID, $arrVALUES=false, $UPDATE_ADDITIONAL="N", $CHECK_RIGHTS="Y")
CForm_old :: UpdateResultField($arFields, $RESULT_ID, $FIELD_ID)
form :: DoInstall()
form :: DoUninstall()
form :: form()
form :: GetModuleRightList()
form :: InstallDB()
form :: InstallEvents()
form :: InstallFiles()
form :: UnInstallDB($arParams = Array())
form :: UnInstallEvents()
form :: UnInstallFiles($arParams = array())
SenderConnectorForm :: getCode()
SenderConnectorForm :: getData()
SenderConnectorForm :: getForm()
SenderConnectorForm :: getName()
SenderConnectorForm :: requireConfigure()
SenderEventHandler :: onConnectorListForm($data)
_CFormCrmSenderResult :: code()
_CFormCrmSenderResult :: data()
_CFormCrmSenderResult :: error()
_CFormCrmSenderResult :: field($field)
_CFormCrmSenderResult :: _process()
_CFormCrmSenderResult :: __construct($result_text)