1 | <?php |
||
14 | class InternalLinkModalExtension extends Extension |
||
15 | { |
||
16 | private static $url_handlers = [ |
||
17 | 'editorAnchorLink/$ItemID' => 'editorAnchorLink', // Matches LeftAndMain::methodSchema args |
||
18 | ]; |
||
19 | |||
20 | private static $allowed_actions = array( |
||
|
|||
21 | 'editorInternalLink', |
||
22 | 'editorAnchorLink', |
||
23 | ); |
||
24 | |||
25 | /** |
||
26 | * @return ModalController |
||
27 | */ |
||
28 | public function getOwner() |
||
34 | |||
35 | |||
36 | /** |
||
37 | * Form for inserting internal link pages |
||
38 | * |
||
39 | * @return Form |
||
40 | */ |
||
41 | public function editorInternalLink() |
||
51 | |||
52 | public function editorAnchorLink() |
||
72 | } |
||
73 |