34 Loader::registerAutoLoadClasses($module,
$arParams);
40 return ModuleManager::getInstalledModules();
99 $r = \Bitrix\Main\TaskTable::getList([
101 'filter' => [
'=MODULE_ID' => $this->MODULE_ID],
105 while ($arR = $r->fetch())
107 $arIds[] = $arR[
'ID'];
112 \Bitrix\Main\GroupTaskTable::deleteByFilter([
'=TASK_ID' => $arIds]);
113 \Bitrix\Main\TaskOperationTable::deleteByFilter([
'=TASK_ID' => $arIds]);
114 \Bitrix\Main\TaskTable::deleteByFilter([
'=MODULE_ID' => $this->MODULE_ID]);
116 \Bitrix\Main\OperationTable::deleteByFilter([
'=MODULE_ID' => $this->MODULE_ID]);
121 return ModuleManager::isModuleInstalled($this->MODULE_ID);
130 ModuleManager::delete($this->MODULE_ID);
135 ModuleManager::add($this->MODULE_ID);
153 return Loader::includeModule($module_name);
158 return Loader::includeSharewareModule($module_name);
163 return ModuleTable::getList([
164 'select' => [
'REFERENCE_ID' =>
'ID',
'REFERENCE' =>
'ID'],
165 'order' => [
'ID' =>
'ASC'],
166 'cache' => [
'ttl' => 86400],
176 if (!ModuleManager::isValidModule(
$moduleId))
189 $className = str_replace(
".",
"_",
$moduleId);
190 if (!class_exists($className))
195 return new $className;
static AddFromArray(string $module, array $tasks)
static IncludeModuleEx($module_name)
$SHOW_SUPER_ADMIN_GROUP_RIGHTS
static IncludeModule($module_name)
static CreateModuleObject($moduleId)
InstallEventMessages(string $languageId, array $siteId)
static AddAutoloadClasses($module, $arParams=[])
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
$_SERVER["DOCUMENT_ROOT"]
getLocalPath($path, $baseFolder="/bitrix")