1 | <?php |
||
8 | class PageResolver extends Resolver |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * Resolves a given ID to be absolute |
||
13 | * |
||
14 | * This handles all kinds of relative shortcuts, startpages and autoplurals |
||
15 | * @inheritDoc |
||
16 | */ |
||
17 | public function resolveId($id, $rev = '', $isDateAt = false) |
||
44 | |||
45 | /** |
||
46 | * IDs ending in : |
||
47 | * |
||
48 | * @param string $id |
||
49 | * @param int $rev |
||
50 | * @param bool $isDateAt |
||
51 | * @return string |
||
52 | */ |
||
53 | protected function resolveStartPage($id, $rev, $isDateAt) |
||
72 | |||
73 | /** |
||
74 | * Try alternative plural/singular form |
||
75 | * |
||
76 | * @param string $id |
||
77 | * @param int $rev |
||
78 | * @param bool $isDateAt |
||
79 | * @return string |
||
80 | */ |
||
81 | protected function resolveAutoPlural($id, $rev, $isDateAt) |
||
96 | |||
97 | } |
||
98 |