kernel-main-module
Installation
SKILL.md
Bitrix Kernel (main module)
When to use
- The user needs kernel bootstrap services in Bitrix —
Application::getInstance(), theContext, theRequest, the connection pool, or the service locator. - The user wants to register or handle a Bitrix event — the D7
EventManager/addEventHandleror the legacyRegisterModuleDependences. - The user needs to include a Bitrix module or connect code to the kernel —
Loader::includeModule()(D7) or the legacyCModule::IncludeModule(). - The user reads HTTP input in Bitrix and asks whether to use the D7
Context::getRequest()accessors or the legacy$_REQUEST/$_GETsuperglobals.