Поддержка серверов

FORM: методы, функции, константы класса Битрикс


Блог разработчика

9 августа 2016 ResizeImageGet и простой водяной знак налету

Сегодня поговорим о том как проще всего воткнуть водяной знак на картинки в Битрикс. Например, на все изображения каталога.

21 июля 2016 Добавление вкладки в CRM коробки Битрикс24

В этом посте я покажу, как легко и просто добавить вкладку в сущность CRM. И не просто добавить, а вывести там свой контент.

21 июля 2016 Как просто обращаться из коробки Битрикс24 на сайт на базе Битрикс

К примеру вам хочется внутренним скриптом дернуть с сайта-магазина информацию, которая там, в свою очередь, закрыта некоторыми правами. Например, админскими. Можно конечно мутить свой REST, или иной формат общения, но проще всего воспользоваться штатным инструментом:

События модуля form

СобытиеВызывается
OnAfterFormCrmAddCFormCrm::Add
OnAfterFormCrmDeleteCFormCrm::Delete
OnAfterFormCrmUpdateCFormCrm::Update
OnBeforeFormCrmAddCFormCrm::Add
OnBeforeFormCrmDeleteCFormCrm::Delete
OnBeforeFormCrmUpdateCFormCrm::Update
onAfterResultAddCFormResult::Add
onAfterResultStatusChangeCFormResult::SetStatus
onAfterResultUpdateCFormResult::Update
onBeforeResultAddCFormResult::Add
onBeforeResultDeleteCFormResult::Delete
onBeforeResultStatusChangeCFormResult::SetStatus
onBeforeResultUpdateCFormResult::Update
onFormValidatorBuildListCFormValidator::GetAllList

Константы модуля form

КонстантаПроверяется
ADMIN_SECTIONCFormOutput_old::getData
SITE_IDCFormResult::Mail

Список функций и методов модуля form

Метод
CForm::Check()
CForm::CheckFields()
CForm::Copy()
CForm::Delete()
CForm::ExecHandlerAfterChangeStatus()
CForm::ExecHandlerBeforeChangeStatus()
CForm::GetByID()
CForm::GetByID_admin()
CForm::GetBySID()
CForm::GetCheckBoxField()
CForm::GetCheckBoxValue()
CForm::GetCrmFlagFilter()
CForm::GetDataByID()
CForm::GetDateField()
CForm::GetDateFilter()
CForm::GetDateValue()
CForm::GetDropDownField()
CForm::GetDropDownFilter()
CForm::GetDropDownValue()
CForm::GetEmailField()
CForm::GetEmailValue()
CForm::GetExistFlagFilter()
CForm::GetFileField()
CForm::GetFormTemplateByID()
CForm::GetHiddenField()
CForm::GetHiddenValue()
CForm::GetList()
CForm::GetMailTemplateArray()
CForm::GetMenuList()
CForm::GetMultiSelectField()
CForm::GetMultiSelectValue()
CForm::GetNextSort()
CForm::GetNumberFilter()
CForm::GetPasswordField()
CForm::GetPasswordValue()
CForm::GetPermission()
CForm::GetPermissionList()
CForm::GetRadioField()
CForm::GetRadioValue()
CForm::GetResultAnswerArray()
CForm::GetSiteArray()
CForm::GetTemplateList()
CForm::GetTextAreaField()
CForm::GetTextAreaValue()
CForm::GetTextField()
CForm::GetTextFilter()
CForm::GetTextValue()
CForm::GetUrlField()
CForm::GetUrlValue()
CForm::IsAdmin()
CForm::Reset()
CForm::Set()
CForm::SetMailTemplate()
CForm::ShowRequired()
CForm::__check_PushError()
CForm::err_mess()
CForm::isCAPTCHAInTemplate()
CForm::isFieldInTemplate()
CFormAnswer::CheckFields()
CFormAnswer::Copy()
CFormAnswer::Delete()
CFormAnswer::GetByID()
CFormAnswer::GetList()
CFormAnswer::GetTypeList()
CFormAnswer::Set()
CFormAnswer::err_mess()
CFormCrm::Add()
CFormCrm::AddLead()
CFormCrm::CheckFields()
CFormCrm::Delete()
CFormCrm::GetByFormID()
CFormCrm::GetByID()
CFormCrm::GetFields()
CFormCrm::GetFilterOperation()
CFormCrm::GetList()
CFormCrm::PrepareSql()
CFormCrm::SetForm()
CFormCrm::Update()
CFormCrm::_addField()
CFormCrm::_getAllFormFields()
CFormCrm::_getAllFormFieldsHTML()
CFormCrm::onResultAdded()
CFormCrmSender::AddLead()
CFormCrmSender::GetAuthHash()
CFormCrmSender::GetFields()
CFormCrmSender::GetLastResult()
CFormCrmSender::__construct()
CFormCrmSender::_cacheId()
CFormCrmSender::_query()
CFormCrmSender::_setAuthHash()
CFormEventHandlers::sendOnAfterResultStatusChange()
CFormField::CheckFields()
CFormField::Copy()
CFormField::Delete()
CFormField::GetByID()
CFormField::GetBySID()
CFormField::GetFilterList()
CFormField::GetFilterTypeList()
CFormField::GetList()
CFormField::GetNextSort()
CFormField::GetTypeList()
CFormField::Reset()
CFormField::Set()
CFormField::err_mess()
CFormOutput::CAllFormOutput()
CFormOutput::CFormOutput()
CFormOutput::CheckTemplate()
CFormOutput::GetResultStatusCSSClass()
CFormOutput::IncludeFormCustomTemplate()
CFormOutput::IncludeFormTemplate()
CFormOutput::InitializeTemplate()
CFormOutput::PrepareFormData()
CFormOutput::ShowApplyButton()
CFormOutput::ShowCaptcha()
CFormOutput::ShowCaptchaField()
CFormOutput::ShowCaptchaImage()
CFormOutput::ShowDateFormat()
CFormOutput::ShowErrorMsg()
CFormOutput::ShowFormDescription()
CFormOutput::ShowFormErrors()
CFormOutput::ShowFormErrorsText()
CFormOutput::ShowFormFooter()
CFormOutput::ShowFormHeader()
CFormOutput::ShowFormImage()
CFormOutput::ShowFormNote()
CFormOutput::ShowFormNoteText()
CFormOutput::ShowFormTitle()
CFormOutput::ShowInput()
CFormOutput::ShowInputCaption()
CFormOutput::ShowInputCaptionImage()
CFormOutput::ShowRequired()
CFormOutput::ShowResetButton()
CFormOutput::ShowResultStatus()
CFormOutput::ShowResultStatusForm()
CFormOutput::ShowResultStatusText()
CFormOutput::ShowSubmitButton()
CFormOutput::__admin_GetInputAnswersStructure()
CFormOutput::__admin_GetInputType()
CFormOutput::__admin_ShowInputCaption()
CFormOutput::__check_form_cache()
CFormOutput::__clear_form_cache_files()
CFormOutput::err_mess()
CFormOutput::getFormImagePath()
CFormOutput::getInputCaptionImagePath()
CFormOutput::isAccessForm()
CFormOutput::isAccessFormParams()
CFormOutput::isAccessFormResult()
CFormOutput::isAccessFormResultEdit()
CFormOutput::isAccessFormResultList()
CFormOutput::isAccessFormResultView()
CFormOutput::isFormDescription()
CFormOutput::isFormErrors()
CFormOutput::isFormImage()
CFormOutput::isFormNote()
CFormOutput::isFormTitle()
CFormOutput::isInputCaptionImage()
CFormOutput::isResultStatusChangeAccess()
CFormOutput::isStatisticIncluded()
CFormOutput::isUseCaptcha()
CFormOutput::setError()
CFormOutput::setInputDefaultValue()
CFormOutput_old::CaptchaInitialize()
CFormOutput_old::Init()
CFormOutput_old::Out()
CFormOutput_old::ShowAnswer()
CFormOutput_old::__checkFilter()
CFormOutput_old::__prepareDataForTpl()
CFormOutput_old::__prepareFilter()
CFormOutput_old::getData()
CFormOutput_old::getListData()
CFormResult::Add()
CFormResult::AddAnswer()
CFormResult::Delete()
CFormResult::GetByID()
CFormResult::GetCount()
CFormResult::GetDataByID()
CFormResult::GetDataByIDForHTML()
CFormResult::GetFileByAnswerID()
CFormResult::GetFileByHash()
CFormResult::GetList()
CFormResult::GetPermissions()
CFormResult::Mail()
CFormResult::PrepareFilter()
CFormResult::Reset()
CFormResult::SetCRMFlag()
CFormResult::SetEvent()
CFormResult::SetField()
CFormResult::SetStatus()
CFormResult::Update()
CFormResult::UpdateField()
CFormResult::err_mess()
CFormResult_old::Edit()
CFormResult_old::GetDataByIDForWeb()
CFormResult_old::GetMaxPermissions()
CFormResult_old::Show()
CFormStatus::CheckFields()
CFormStatus::Copy()
CFormStatus::Delete()
CFormStatus::GetByID()
CFormStatus::GetDefault()
CFormStatus::GetDropdown()
CFormStatus::GetList()
CFormStatus::GetMailTemplateArray()
CFormStatus::GetMaxPermissions()
CFormStatus::GetNextSort()
CFormStatus::GetPermissionList()
CFormStatus::GetPermissions()
CFormStatus::GetTemplateList()
CFormStatus::Set()
CFormStatus::SetMailTemplate()
CFormStatus::err_mess()
CFormValidator::Clear()
CFormValidator::Execute()
CFormValidator::GetAllList()
CFormValidator::GetList()
CFormValidator::GetListForm()
CFormValidator::GetSettings()
CFormValidator::GetSettingsArray()
CFormValidator::GetSettingsString()
CFormValidator::Set()
CFormValidator::SetBatch()
CFormValidator::__getList()
CFormValidator::err_mess()
CForm_old::Add()
CForm_old::AddResultAnswer()
CForm_old::DeleteAnswer()
CForm_old::DeleteField()
CForm_old::DeleteResult()
CForm_old::EditResult()
CForm_old::GetAdditionaFieldTypeList()
CForm_old::GetAnswerByID()
CForm_old::GetAnswerList()
CForm_old::GetAnswerTypeList()
CForm_old::GetByVarname()
CForm_old::GetClosedFields()
CForm_old::GetDefaultStatus()
CForm_old::GetFieldByID()
CForm_old::GetFieldByVarname()
CForm_old::GetFieldList()
CForm_old::GetFileValue()
CForm_old::GetFilterList()
CForm_old::GetFilterTypeList()
CForm_old::GetNextStatusSort()
CForm_old::GetResultByID()
CForm_old::GetResultFields()
CForm_old::GetResultList()
CForm_old::GetResultPermission()
CForm_old::GetResultValuesFromDB()
CForm_old::GetResultsCount()
CForm_old::GetStatusByID()
CForm_old::GetStatusDropdown()
CForm_old::GetStatusList()
CForm_old::GetStatusPermission()
CForm_old::IsOldVersion()
CForm_old::Mail()
CForm_old::PrepareResultFilter()
CForm_old::ResetField()
CForm_old::ResetResult()
CForm_old::SetEvent()
CForm_old::SetResultField()
CForm_old::SetResultStatus()
CForm_old::Show()
CForm_old::ShowResult()
CForm_old::Update()
CForm_old::UpdateResultField()
SenderConnectorForm::getCode()
SenderConnectorForm::getData()
SenderConnectorForm::getForm()
SenderConnectorForm::getName()
SenderConnectorForm::requireConfigure()
SenderEventHandler::onConnectorListForm()
_CFormCrmSenderResult::__construct()
_CFormCrmSenderResult::_process()
_CFormCrmSenderResult::code()
_CFormCrmSenderResult::data()
_CFormCrmSenderResult::error()
_CFormCrmSenderResult::field()
form::DoInstall()
form::DoUninstall()
form::GetModuleRightList()
form::InstallDB()
form::InstallEvents()
form::InstallFiles()
form::UnInstallDB()
form::UnInstallEvents()
form::UnInstallFiles()
form::form()