| @@ 88-95 (lines=8) @@ | ||
| 85 | * |
|
| 86 | * @return string $meta |
|
| 87 | */ |
|
| 88 | public function getMeta() |
|
| 89 | { |
|
| 90 | if (isset($this->_contextConfig['site']['meta'])) { |
|
| 91 | return array_merge($this->_contextConfig['site']['meta'],$this->_data['meta']); |
|
| 92 | } else { |
|
| 93 | return $this->_data['meta']; |
|
| 94 | } |
|
| 95 | } |
|
| 96 | ||
| 97 | /** |
|
| 98 | * Add meta file to page |
|
| @@ 193-200 (lines=8) @@ | ||
| 190 | * @return array css file paths |
|
| 191 | * @todo sort by the 'order' value |
|
| 192 | */ |
|
| 193 | public function getCss() |
|
| 194 | { |
|
| 195 | if (isset($this->_themeConfig['css'])) { |
|
| 196 | return array_merge($this->_themeConfig['css'], $this->_data['css']); |
|
| 197 | } else { |
|
| 198 | return $this->_data['css']; |
|
| 199 | } |
|
| 200 | } |
|
| 201 | ||
| 202 | /** |
|
| 203 | * Add css file to page |
|
| @@ 227-234 (lines=8) @@ | ||
| 224 | * @return array js file paths |
|
| 225 | * @todo sort by the 'order' value |
|
| 226 | */ |
|
| 227 | public function getJs() |
|
| 228 | { |
|
| 229 | if (isset($this->_themeConfig['js'])) { |
|
| 230 | return array_merge($this->_themeConfig['js'], $this->_data['js']); |
|
| 231 | } else { |
|
| 232 | return $this->_data['js']; |
|
| 233 | } |
|
| 234 | } |
|
| 235 | ||
| 236 | /** |
|
| 237 | * Add js file to page |
|