string public static
\Bitrix\Main\Config\Option::get(
string $moduleId,
string $name,
string $default = "",
boolean|string $siteId = false
);
Returns a value of an option.
Parameters
ParameterDescriptionVersion
$moduleIdThe module ID.
$nameThe option name.
$defaultThe default value to return, if a value doesn't exist.
$siteIdThe site ID, if the option differs for sites.
Exceptions
\Bitrix\Main\ArgumentNullException
\Bitrix\Main\ArgumentOutOfRangeException
Examples
Руководитель отдела документации