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

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


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

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

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

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

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

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

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

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

СобытиеВызывается
OnAfterCloseMemberCControllerMember::CloseMember
OnAfterRegisterMemberByTicketCControllerMember::RegisterMemberByTicket
OnBeforeControllerMemberAddCControllerMember::CheckFields
OnBeforeControllerMemberUpdateCControllerMember::CheckFields
OnBeforeControllerServerRequestSendCControllerServerRequestTo::Send
OnBeforeSetGroupSettingsCControllerMember::SetGroupSettings
OnBeforeTaskAddCControllerTask::CheckFields
OnBeforeUpdateCountersCControllerMember::UpdateCounters
OnControllerMemberScopesAuthGrantTable::getControllerMemberScopes
OnGetGroupSettingsCControllerGroupSettings::Get3rdPartyOptions

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

Метод
AuthGrantTable::getActiveForControllerMember()
AuthGrantTable::getControllerMemberScopes()
AuthGrantTable::getGranteeUserList()
AuthGrantTable::getMap()
AuthGrantTable::getTableName()
AuthGrantTable::validateNote()
AuthGrantTable::validateScope()
AuthLogTable::cleanupAgent()
AuthLogTable::getMap()
AuthLogTable::getTableName()
AuthLogTable::isEnabled()
AuthLogTable::logControllerToSiteAuth()
AuthLogTable::logSiteToControllerAuth()
AuthLogTable::logSiteToSiteAuth()
AuthLogTable::setupAgent()
AuthLogTable::validateType()
AuthLogTable::validateUserName()
CControllerAgent::CleanUp()
CControllerAgent::_Lock()
CControllerAgent::_OrderBy()
CControllerAgent::_UnLock()
CControllerCounter::Add()
CControllerCounter::CheckFields()
CControllerCounter::Delete()
CControllerCounter::FormatValue()
CControllerCounter::GetArrayByID()
CControllerCounter::GetFormatArray()
CControllerCounter::GetHistory()
CControllerCounter::GetList()
CControllerCounter::GetMemberCounters()
CControllerCounter::GetMemberValues()
CControllerCounter::GetTypeArray()
CControllerCounter::GetTypeColumn()
CControllerCounter::GetTypeUserType()
CControllerCounter::SetGroupCounters()
CControllerCounter::Update()
CControllerCounter::UpdateGroups()
CControllerCounter::UpdateMemberValues()
CControllerCounterResult::CControllerCounterResult()
CControllerCounterResult::Fetch()
CControllerGroup::Add()
CControllerGroup::CheckDefaultUpdate()
CControllerGroup::CheckFields()
CControllerGroup::Delete()
CControllerGroup::GetByID()
CControllerGroup::GetGroupSettings()
CControllerGroup::GetList()
CControllerGroup::RunCommand()
CControllerGroup::SetGroupSettings()
CControllerGroup::SiteUpdate()
CControllerGroup::Update()
CControllerGroup::UpdateCounters()
CControllerGroup::__CounterUpdateAgentPeriod()
CControllerGroup::__UpdateAgentPeriod()
CControllerGroup::__UpdateCountersAgent()
CControllerGroup::__UpdateSettingsAgent()
CControllerGroupSettings::GenerateInput()
CControllerGroupSettings::GeneratePHPInstall()
CControllerGroupSettings::Get3rdPartyOptions()
CControllerGroupSettings::GetData()
CControllerGroupSettings::GetModules()
CControllerGroupSettings::SetGroupSettings()
CControllerGroupSettings::__PHPToString()
CControllerLog::Add()
CControllerLog::CheckFields()
CControllerLog::Delete()
CControllerLog::GetByID()
CControllerLog::GetList()
CControllerLog::GetNameArray()
CControllerLog::Update()
CControllerMember::Add()
CControllerMember::AddCommand()
CControllerMember::CheckFields()
CControllerMember::CheckMember()
CControllerMember::CheckUserAuth()
CControllerMember::CloseMember()
CControllerMember::Delete()
CControllerMember::GetByGuid()
CControllerMember::GetByID()
CControllerMember::GetList()
CControllerMember::GetLog()
CControllerMember::GetMember()
CControllerMember::ReconnectMemberByPassword()
CControllerMember::RegisterMemberByPHP()
CControllerMember::RegisterMemberByPassword()
CControllerMember::RegisterMemberByTicket()
CControllerMember::RemoveGroupSettings()
CControllerMember::RunCommand()
CControllerMember::RunCommandRedirect()
CControllerMember::RunCommandWithLog()
CControllerMember::SendFile()
CControllerMember::SendFileWithLog()
CControllerMember::SetGroupSettings()
CControllerMember::SiteUpdate()
CControllerMember::UnRegister()
CControllerMember::UnregisterExpiredAgent()
CControllerMember::Update()
CControllerMember::UpdateCounters()
CControllerMember::_CheckCommandId()
CControllerMember::_GoodURL()
CControllerMember::addHistoryNote()
CControllerMember::logChanges()
CControllerServerRequestFrom::Check()
CControllerServerRequestFrom::__construct()
CControllerServerRequestTo::Send()
CControllerServerRequestTo::__construct()
CControllerServerResponseFrom::__construct()
CControllerServerResponseTo::Sign()
CControllerServerResponseTo::__construct()
CControllerTask::Add()
CControllerTask::CheckFields()
CControllerTask::Delete()
CControllerTask::GetArrayByID()
CControllerTask::GetByID()
CControllerTask::GetList()
CControllerTask::GetStatusArray()
CControllerTask::GetTaskArray()
CControllerTask::ProcessAllTask()
CControllerTask::ProcessTask()
CControllerTask::Update()
ControllerIsSharedMode()
CounterHistoryTable::getMap()
CounterHistoryTable::getTableName()
CounterHistoryTable::validateName()
DBUpdaterCheckUpdates()
DBUpdaterCollectDBVersionsNew()
DBUpdaterLock()
DBUpdaterUnLock()
DBUpdaterUpdateFromVersion()
GroupMapTable::getMap()
GroupMapTable::getMapping()
GroupMapTable::getTableName()
GroupMapTable::isExists()
GroupMapTable::validateLocalGroupCode()
GroupMapTable::validateRemoteGroupCode()
GroupTable::getMap()
GroupTable::getTableName()
GroupTable::validateCheckCounterFreeSpace()
GroupTable::validateCheckCounterLastAuth()
GroupTable::validateCheckCounterSites()
GroupTable::validateCheckCounterUsers()
GroupTable::validateName()
IControllerGroupOption::GetIcon()
IControllerGroupOption::GetName()
IControllerGroupOption::GetOptionArray()
IControllerGroupOption::GetOptionPHPCode()
IControllerGroupOption::GetTitle()
MemberTable::getMap()
MemberTable::getTableName()
MemberTable::validateContactPerson()
MemberTable::validateEmail()
MemberTable::validateHostname()
MemberTable::validateMemberId()
MemberTable::validateName()
MemberTable::validateSecretId()
MemberTable::validateUrl()
adminListAddUserLink()
controller::DoInstall()
controller::DoUninstall()
controller::GetModuleRightList()
controller::GetModuleTasks()
controller::InstallDB()
controller::InstallEvents()
controller::InstallFiles()
controller::OnGetTableSchema()
controller::UnInstallDB()
controller::UnInstallEvents()
controller::UnInstallFiles()
controller::controller()