Bug #69537
closedBackendUtility::getAjaxUrl() should not be internal
100%
Description
Method \TYPO3\CMS\Backend\Utility\BackendUtility::getAjaxUrl()
was marked as internal in #57096.
However there are cases when getting the URL for an AJAX call is needed also on the PHP side and not just on the JavaScript side. An example of this is when adding an item to the flush cache menu, where one must pass a URL in the "href" property of the cache actions array.
This can be seen used in the "flush_language_cache" extension, which adds a menu time to clear only the "l10n" cache. See: https://github.com/cobwebch/flush_language_cache/blob/master/Classes/Toolbar/ToolbarItem.php
Updated by Gerrit Code Review over 9 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43030
Updated by Gerrit Code Review over 9 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43048
Updated by Francois Suter over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3c79c86c235bc67e30556f0241175eef00170d9d.