1 | <?php |
||
8 | class ContextHelper implements ProtectedContextAwareInterface |
||
9 | { |
||
10 | /** |
||
11 | * @Flow\InjectConfiguration(path="contentDimensions", package="Neos.ContentRepository") |
||
12 | * @var array |
||
13 | */ |
||
14 | protected $contentDimensionsConfiguration; |
||
15 | |||
16 | /** |
||
17 | * Returns a context array with matched dimension values per dimension for given request uri path. If nothing |
||
18 | * matches, it returns a context array with default dimension values per dimension. |
||
19 | * |
||
20 | * @param $requestUriPath |
||
21 | * @return array |
||
22 | */ |
||
23 | public function ofRequestUriPath($requestUriPath) |
||
46 | |||
47 | /** |
||
48 | * @param array $uriSegments |
||
49 | * @return array |
||
50 | */ |
||
51 | protected function getDimensionValuesForUriSegments($uriSegments) |
||
75 | |||
76 | /** |
||
77 | * Returns default dimension values per dimension. |
||
78 | * |
||
79 | * @return array |
||
80 | */ |
||
81 | protected function getDefaultDimensionValues() |
||
89 | |||
90 | protected function getUriSegments($requestUriPath) |
||
95 | |||
96 | public function allowsCallOfMethod($methodName) |
||
100 | } |
||
101 |