• Модуль: scale
  • Путь к файлу: ~/bitrix/modules/scale/lib/graphdata.php
  • Класс: BitrixScaleGraphData
  • Вызов: GraphData::getList
static function getList()
{
	static $def = null;

	if($def == null)
	{
		$filename = BitrixMainApplication::getDocumentRoot()."/bitrix/modules/scale/include/graphdefinitions.php";
		$file = new BitrixMainIOFile($filename);

		if($file->isExists())
			require_once($filename);
		else
			throw new BitrixMainIOFileNotFoundException($filename);

		if(isset($graphics))
			$def = $graphics;
		else
			$def = array();
	}

	return $def;
}