1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
graphdata.php
См. документацию.
1<?php
2namespace Bitrix\Scale;
3
9{
16 public static function getGraphs($graphCategory)
17 {
18 if($graphCategory == '')
19 throw new \Bitrix\Main\ArgumentNullException("graphCategory");
20
22 $result = array();
23
24 if(isset($graphics[$graphCategory]))
25 $result = $graphics[$graphCategory];
26
27 return $result;
28 }
29
34 public static function getList()
35 {
36 static $def = null;
37
38 if($def == null)
39 {
40 $filename = \Bitrix\Main\Application::getDocumentRoot()."/bitrix/modules/scale/include/graphdefinitions.php";
41 $file = new \Bitrix\Main\IO\File($filename);
42
43 if($file->isExists())
44 require_once($filename);
45 else
46 throw new \Bitrix\Main\IO\FileNotFoundException($filename);
47
48 if(isset($graphics))
50 else
51 $def = array();
52 }
53
54 return $def;
55 }
56}
static getDocumentRoot()
Определения application.php:736
static getGraphs($graphCategory)
Определения graphdata.php:16
static getList()
Определения graphdata.php:34
$filename
Определения file_edit.php:47
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$result
Определения get_property_values.php:14
$graphics
Определения graphdefinitions.php:7
foreach($arTemplatesList as $templ) if(mb_strpos($templ["NAME"] $def
Определения template_copy.php:264