Documentation

getForModule

array public static
\Bitrix\Main\Config\Option::getForModule(
 string $moduleId,
 boolean|string $siteId = false
);

This static method returns array of installed parameters for the module array(name => value).

Parameters

ParameterDescriptionVersion
$moduleIdModule identifier.
$siteIdSite ID, when parameters vary for different sites.

Exceptions

Examples



© «Bitrix24», 2001-2024
Up