• Модуль: bitrixcloud
  • Путь к файлу: ~/bitrix/modules/bitrixcloud/classes/general/option.php
  • Класс: CBitrixCloudOption
  • Вызов: CBitrixCloudOption::_read_db
private function _read_db()
{
	global $DB;
	$result = /*.(array[string]string).*/ array();
	$rs = $DB->Query("
		select PARAM_KEY, PARAM_VALUE
		from b_bitrixcloud_option
		where NAME = '".$DB->ForSQL($this->name)."'
		order by SORT
	");
	while (is_array($ar = $rs->Fetch()))
	{
		$key = $ar["PARAM_KEY"];
		$result[$key] = $ar["PARAM_VALUE"];
	}
	return $result;
}