Documentation

get

public static
\Bitrix\Main\Config\Configuration::get(
 string $name,
);

This static method returns parameter values.

Parameters

ParameterDescriptionVersion
$nameParameter name.

Examples

Get a configuration object.

$config = \Bitrix\Main\Config\Configuration::getInstance();
$configConnections = $config->get("connections");
Then
$exception_handling = $configuration->get('exception_handling');
$ac_reset = $configuration->get('no_accelerator_reset');
$status = $configuration->get('http_status');
$cache = $configuration->get('cache');
$cachettl = $configuration->get('cache_flags');
$cookies = $configuration->get('cookies');


© «Bitrix24», 2001-2022
Up