TYPO3 CMS  TYPO3_7-6
AjaxRoutes.php
Go to the documentation of this file.
1 <?php
3 
11 return [
12 
13  // Expand or toggle in legacy database tree
14  'sc_alt_db_navframe_expandtoggle' => [
15  'path' => '/record/tree/expand',
16  'target' => Controller\PageTreeNavigationController::class . '::ajaxExpandCollapse'
17  ],
18 
19  // Expand or toggle in legacy file tree
20  'sc_alt_file_navframe_expandtoggle' => [
21  'path' => '/folder/tree/expand',
22  'target' => Controller\FileSystemNavigationFrameController::class . '::ajaxExpandCollapse'
23  ],
24 
25  // File processing
26  'file_process' => [
27  'path' => '/file/process',
28  'target' => Controller\File\FileController::class . '::processAjaxRequest'
29  ],
30 
31  // Check if file exists
32  'file_exists' => [
33  'path' => '/file/exists',
34  'target' => Controller\File\FileController::class . '::fileExistsInFolderAction'
35  ],
36 
37  // Get record details of a child record in IRRE
38  'record_inline_details' => [
39  'path' => '/record/inline/details',
40  'target' => Controller\FormInlineAjaxController::class . '::detailsAction'
41  ],
42 
43  // Create new inline element
44  'record_inline_create' => [
45  'path' => '/record/inline/create',
46  'target' => Controller\FormInlineAjaxController::class . '::createAction'
47  ],
48 
49  // Synchronize localization
50  'record_inline_synchronizelocalize' => [
51  'path' => '/record/inline/synchronizelocalize',
52  'target' => Controller\FormInlineAjaxController::class . '::synchronizeLocalizeAction'
53  ],
54 
55  // Expand / Collapse inline record
56  'record_inline_expandcollapse' => [
57  'path' => '/record/inline/expandcollapse',
58  'target' => Controller\FormInlineAjaxController::class . '::expandOrCollapseAction'
59  ],
60 
61  // Search records
62  'record_suggest' => [
63  'path' => '/wizard/suggest/search',
64  'target' => \TYPO3\CMS\Backend\Form\Wizard\SuggestWizard::class . '::searchAction'
65  ],
66 
67  // Get shortcut edit form
68  'shortcut_editform' => [
69  'path' => '/shortcut/editform',
70  'target' => \TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem::class . '::editFormAction'
71  ],
72 
73  // Save edited shortcut
74  'shortcut_saveform' => [
75  'path' => '/shortcut/saveform',
76  'target' => \TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem::class . '::saveFormAction'
77  ],
78 
79  // Render shortcut toolbar item
80  'shortcut_list' => [
81  'path' => '/shortcut/list',
82  'target' => \TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem::class . '::menuAction'
83  ],
84 
85  // Delete a shortcut
86  'shortcut_remove' => [
87  'path' => '/shortcut/remove',
88  'target' => \TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem::class . '::removeShortcutAction'
89  ],
90 
91  // Create a new shortcut
92  'shortcut_create' => [
93  'path' => '/shortcut/create',
94  'target' => \TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem::class . '::createShortcutAction'
95  ],
96 
97  // Render systeminformtion toolbar item
98  'systeminformation_render' => [
99  'path' => '/system-information/render',
100  'target' => \TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem::class . '::renderMenuAction'
101  ],
102 
103  // Reload the module menu
104  'modulemenu' => [
105  'path' => '/module-menu',
106  'target' => Controller\BackendController::class . '::getModuleMenu'
107  ],
108 
109  // Log in into backend
110  'login' => [
111  'path' => '/login',
112  'target' => \TYPO3\CMS\Backend\AjaxLoginHandler::class . '::loginAction',
113  'access' => 'public'
114  ],
115 
116  // Log out from backend
117  'logout' => [
118  'path' => '/logout',
119  'target' => \TYPO3\CMS\Backend\AjaxLoginHandler::class . '::logoutAction',
120  'access' => 'public'
121  ],
122 
123  // Refresh login of backend
124  'login_refresh' => [
125  'path' => '/login/refresh',
126  'target' => \TYPO3\CMS\Backend\AjaxLoginHandler::class . '::refreshAction',
127  ],
128 
129  // Check if backend session has timed out
130  'login_timedout' => [
131  'path' => '/login/timedout',
132  'target' => \TYPO3\CMS\Backend\AjaxLoginHandler::class . '::isTimedOutAction',
133  'access' => 'public'
134  ],
135 
136  // ExtDirect routing
137  'ext_direct_route' => [
138  'path' => '/ext-direct/route',
139  'target' => \TYPO3\CMS\Core\ExtDirect\ExtDirectRouter::class . '::routeAction',
140  'access' => 'public'
141  ],
142 
143  // ExtDirect API
144  'ext_direct_api' => [
145  'path' => '/ext-direct/api',
146  'target' => \TYPO3\CMS\Core\ExtDirect\ExtDirectApi::class . '::getAPI'
147  ],
148 
149  // Render flash messages
150  'flashmessages_render' => [
151  'path' => '/flashmessages/render',
152  'target' => \TYPO3\CMS\Backend\Template\DocumentTemplate::class . '::renderQueuedFlashMessages'
153  ],
154 
155  // Load context menu for
156  'contextmenu' => [
157  'path' => '/context-menu',
158  'target' => Controller\ClickMenuController::class . '::getContextMenuAction'
159  ],
160 
161  // Process data handler commands
162  'record_process' => [
163  'path' => '/record/process',
164  'target' => Controller\SimpleDataHandlerController::class . '::processAjaxRequest'
165  ],
166 
167  // Process user settings
168  'usersettings_process' => [
169  'path' => '/usersettings/process',
170  'target' => Controller\UserSettingsController::class . '::processAjaxRequest'
171  ],
172 
173  // Open the image manipulation wizard
174  'wizard_image_manipulation' => [
175  'path' => '/wizard/image-manipulation',
176  'target' => \TYPO3\CMS\Backend\Form\Wizard\ImageManipulationWizard::class . '::getWizardAction'
177  ],
178 
179  // Save a newly added online media
180  'livesearch' => [
181  'path' => '/livesearch',
182  'target' => Controller\LiveSearchController::class . '::liveSearchAction'
183  ],
184 
185  // Save a newly added online media
186  'online_media_create' => [
187  'path' => '/online-media/create',
188  'target' => Controller\OnlineMediaController::class . '::createAction'
189  ],
190 
191  // Get icon from IconFactory
192  'icons' => [
193  'path' => '/icons',
194  'target' => \TYPO3\CMS\Core\Imaging\IconFactory::class . '::processAjaxRequest'
195  ],
196 
197  // Encode typolink parts on demand
198  'link_browser_encodetypolink' => [
199  'path' => '/link-browser/encode-typolink',
200  'target' => \TYPO3\CMS\Backend\Controller\LinkBrowserController::class . '::encodeTypoLink',
201  ],
202 
203  // Get languages in page and colPos
204  'languages_page_colpos' => [
205  'path' => '/records/localize/get-languages',
206  'target' => Controller\Page\LocalizationController::class . '::getUsedLanguagesInPageAndColumn'
207  ],
208 
209  // Get summary of records to localize
210  'records_localize_summary' => [
211  'path' => '/records/localize/summary',
212  'target' => Controller\Page\LocalizationController::class . '::getRecordLocalizeSummary'
213  ],
214 
215  // Localize the records
216  'records_localize' => [
217  'path' => '/records/localize',
218  'target' => Controller\Page\LocalizationController::class . '::localizeRecords'
219  ]
220 ];