[BUGFIX] BackendUtility::getAjaxUrl() should not be internal 30/43030/2
authorFrancois Suter <francois@typo3.org>
Fri, 4 Sep 2015 14:53:43 +0000 (16:53 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 5 Sep 2015 09:43:35 +0000 (11:43 +0200)
In some contexts it is necessary to get the URL of an AJAX handler
on the PHP side. Thus method
\TYPO3\CMS\Backend\Utility\BackendUtility::getAjaxUrl()
should not be marked as internal.

Resolves: #69537
Releases: 6.2, master
Change-Id: Ic69a309b2c6fa02c6581cb7a8e8c68807f684b04
Reviewed-on: http://review.typo3.org/43030
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Utility/BackendUtility.php

index 6d2830e..9b8ffd3 100755 (executable)
@@ -3333,7 +3333,6 @@ class BackendUtility {
         * @param bool $backPathOverride (unused)
         * @param bool $returnAbsoluteUrl If set to TRUE, the URL returned will be absolute, $backPathOverride will be ignored in this case
         * @return string Calculated URL
-        * @internal
         */
        static public function getAjaxUrl($ajaxIdentifier, array $urlParameters = array(), $backPathOverride = FALSE, $returnAbsoluteUrl = FALSE) {
                /** @var UriBuilder $uriBuilder */