Project

General

Profile

Actions

Bug #69537

closed

BackendUtility::getAjaxUrl() should not be internal

Added by Francois Suter about 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
Start date:
2015-09-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #57096: Cleanup Ajax URL JS settingsClosed2014-03-20

Actions
Actions #1

Updated by Gerrit Code Review about 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

Actions #2

Updated by Gerrit Code Review about 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

Actions #3

Updated by Francois Suter about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF