1 | <?php |
||
18 | class LinkViewHelper extends AbstractViewHelper |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * Render the view Helper |
||
23 | * |
||
24 | * @param string $tableName |
||
25 | * @param int $foreignUid |
||
26 | * |
||
27 | * @return string |
||
28 | */ |
||
29 | public function render($tableName, $foreignUid) |
||
35 | |||
36 | /** |
||
37 | * Get typolink configuration |
||
38 | * |
||
39 | * @param string $tableName |
||
40 | * |
||
41 | * @param int $uid |
||
42 | * @return array |
||
43 | * @throws \Exception |
||
44 | */ |
||
45 | protected function getTypoLinkConfiguration($tableName, $uid) |
||
66 | |||
67 | /** |
||
68 | * Replace in array |
||
69 | * |
||
70 | * @param array $array |
||
71 | * @param array $markers |
||
72 | * |
||
73 | * @return array |
||
74 | */ |
||
75 | protected function replaceInArray(array $array, array $markers) |
||
86 | } |
||
87 |