@@ 74-79 (lines=6) @@ | ||
71 | } else { |
|
72 | $patternFound = null; |
|
73 | } |
|
74 | if (is_null($patternFound)) { |
|
75 | $patternFound = [ |
|
76 | false, |
|
77 | filter_var($cssFileName, FILTER_SANITIZE_STRING), |
|
78 | ]; |
|
79 | } |
|
80 | return $patternFound; |
|
81 | } |
|
82 | ||
@@ 125-131 (lines=7) @@ | ||
122 | } elseif (strpos($onlyFileName, 'exporting-') !== false) { |
|
123 | $patternFound = $this->setJavascriptFileCDNforHighChartsExporting($jsFileName); |
|
124 | } |
|
125 | if (is_null($patternFound)) { |
|
126 | $patternFound = [false, filter_var($jsFileName, FILTER_SANITIZE_STRING), '']; |
|
127 | } |
|
128 | return $patternFound; |
|
129 | } |
|
130 | ||
131 | /** |
|
132 | * Returns an array with CDN call of a known Javascript library |
|
133 | * and fall-back line that points to local cache of it |
|
134 | * specific for HighCharts |