method
public
static
IntranetManager::getCustomSections()
Сигнатура
public static getCustomSections() : array<string|int, CustomSection>|null
Описание
Возвращает массив пользовательских разделов, связанных с CRM
Возвращаемое значение
array<string|int, CustomSection>|null
Как применяется в IntranetManager
IntranetManager::getCustomSections() — метод класса \Bitrix\Crm\Integration\IntranetManager модуля «CRM».
Статический метод — вызывается через имя класса IntranetManager, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Crm\Integration\IntranetManager;
Loader::includeModule('crm');
$result = IntranetManager::getCustomSections();
// $result: array<string|int, CustomSection>|nullДругие методы IntranetManager
deleteCustomPagesByEntityTypeId()getCustomSection()getCustomSectionByEntityTypeId()Возвращает первый пользовательский раздел, содержащий указанный тип сущностиgetEntityTypeIdByPageSettings()Извлекает entityTypeId из настроек страницы, если это возможноgetEntityTypesInCustomSection()getEntityTypesInCustomSections()getUrlForCustomSection()getUrlForCustomSectionPage()Возвращает url для страницы пользовательского разделаisCustomSectionExists()isCustomSectionsAvailable()Возвращает true, если доступен API пользовательских страниц интранета.isEntityTypeInCustomSection()Возвращает true, если указанный тип сущности включён в пользовательский разделisExternalUser()Проверить, является ли пользователь экстранет-пользователем
Исходный файл: source/crm/lib/integration/intranetmanager.php:132

