1 | <?php |
||
9 | class TceMainHook extends AbstractHook |
||
10 | { |
||
11 | /** |
||
12 | * @param array $parameters |
||
13 | * @param DataHandler $parent |
||
14 | * |
||
15 | * @todo implement cache clearing for "clearCache_pageGrandParent", "clearCache_pageSiblingChildren" and |
||
16 | * and "clearCache_disable" http://docs.typo3.org/typo3cms/TSconfigReference/PageTsconfig/TCEmain/Index.html |
||
17 | * @todo find a way how to clear all affected pages after changeing a page title in the main menu or footer |
||
18 | 11 | * because it is not possible through the existings hooks to access the correct page tags which needs be cleared from cache |
|
19 | */ |
||
20 | 11 | public function clearCachePostProc(array $parameters, DataHandler $parent) |
|
41 | 10 | ||
42 | 10 | /** |
|
43 | 10 | * extract page id from all variants of parameters that can be given |
|
44 | 3 | * |
|
45 | * @param array $parameters |
||
46 | 7 | * @return integer |
|
47 | 3 | */ |
|
48 | private function extractPageIdFromParameters(array $parameters) |
||
63 | |||
64 | 10 | /** |
|
65 | * @param DataHandler $parent |
||
66 | * @return boolean |
||
67 | */ |
||
68 | private function isBackendUserInWorkspace(DataHandler $parent) |
||
75 | } |
||
76 |