• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/config/configuration.php
  • Класс: BitrixMainConfigConfiguration
  • Вызов: Configuration::add
public function add($name, $value)
{
	if (!$this->isLoaded)
		$this->loadConfiguration();

	if (!isset($this->data[$name]) || !$this->data[$name]["readonly"])
		$this->data[$name] = array("value" => $value, "readonly" => false);
	if (($this->storedData !== null) && (!isset($this->storedData[$name]) || !$this->storedData[$name]["readonly"]))
		$this->storedData[$name] = array("value" => $value, "readonly" => false);
}