typo3/sysext/backend/Classes/RecordList/AbstractRecordList.php 1 location
|
@@ 213-221 (lines=9) @@
|
| 210 |
|
* Sets the script url depending on being a module or script request |
| 211 |
|
* @deprecated since TYPO3 v9, will be removed in TYPO3 v10 |
| 212 |
|
*/ |
| 213 |
|
protected function determineScriptUrl() |
| 214 |
|
{ |
| 215 |
|
if ($routePath = GeneralUtility::_GP('route')) { |
| 216 |
|
$uriBuilder = GeneralUtility::makeInstance(UriBuilder::class); |
| 217 |
|
$this->thisScript = (string)$uriBuilder->buildUriFromRoutePath($routePath); |
| 218 |
|
} else { |
| 219 |
|
$this->thisScript = GeneralUtility::getIndpEnv('SCRIPT_NAME'); |
| 220 |
|
} |
| 221 |
|
} |
| 222 |
|
|
| 223 |
|
/** |
| 224 |
|
* @return string |
typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php 1 location
|
@@ 288-296 (lines=9) @@
|
| 285 |
|
/** |
| 286 |
|
* Sets the script url depending on being a module or script request |
| 287 |
|
*/ |
| 288 |
|
protected function determineScriptUrl() |
| 289 |
|
{ |
| 290 |
|
if ($routePath = GeneralUtility::_GP('route')) { |
| 291 |
|
$uriBuilder = GeneralUtility::makeInstance(UriBuilder::class); |
| 292 |
|
$this->thisScript = (string)$uriBuilder->buildUriFromRoutePath($routePath); |
| 293 |
|
} else { |
| 294 |
|
$this->thisScript = GeneralUtility::getIndpEnv('SCRIPT_NAME'); |
| 295 |
|
} |
| 296 |
|
} |
| 297 |
|
|
| 298 |
|
/** |
| 299 |
|
* @return string |
typo3/sysext/recordlist/Classes/Browser/AbstractElementBrowser.php 1 location
|
@@ 104-112 (lines=9) @@
|
| 101 |
|
/** |
| 102 |
|
* Sets the script url depending on being a module or script request |
| 103 |
|
*/ |
| 104 |
|
protected function determineScriptUrl() |
| 105 |
|
{ |
| 106 |
|
if ($routePath = GeneralUtility::_GP('route')) { |
| 107 |
|
$uriBuilder = GeneralUtility::makeInstance(UriBuilder::class); |
| 108 |
|
$this->thisScript = (string)$uriBuilder->buildUriFromRoutePath($routePath); |
| 109 |
|
} else { |
| 110 |
|
$this->thisScript = GeneralUtility::getIndpEnv('SCRIPT_NAME'); |
| 111 |
|
} |
| 112 |
|
} |
| 113 |
|
|
| 114 |
|
/** |
| 115 |
|
*/ |
typo3/sysext/recordlist/Classes/Controller/AbstractLinkBrowserController.php 1 location
|
@@ 204-212 (lines=9) @@
|
| 201 |
|
* @throws \TYPO3\CMS\Backend\Routing\Exception\ResourceNotFoundException |
| 202 |
|
* @throws \TYPO3\CMS\Backend\Routing\Exception\RouteNotFoundException |
| 203 |
|
*/ |
| 204 |
|
protected function determineScriptUrl(ServerRequestInterface $request) |
| 205 |
|
{ |
| 206 |
|
if ($routePath = $request->getQueryParams()['route']) { |
| 207 |
|
$uriBuilder = GeneralUtility::makeInstance(UriBuilder::class); |
| 208 |
|
$this->thisScript = (string)$uriBuilder->buildUriFromRoutePath($routePath); |
| 209 |
|
} else { |
| 210 |
|
$this->thisScript = GeneralUtility::getIndpEnv('SCRIPT_NAME'); |
| 211 |
|
} |
| 212 |
|
} |
| 213 |
|
|
| 214 |
|
/** |
| 215 |
|
* @param ServerRequestInterface $request |
typo3/sysext/backend/Classes/View/PageLayoutView.php 1 location
|
@@ 4069-4077 (lines=9) @@
|
| 4066 |
|
/** |
| 4067 |
|
* Sets the script url depending on being a module or script request |
| 4068 |
|
*/ |
| 4069 |
|
protected function determineScriptUrl() |
| 4070 |
|
{ |
| 4071 |
|
if ($routePath = GeneralUtility::_GP('route')) { |
| 4072 |
|
$uriBuilder = GeneralUtility::makeInstance(UriBuilder::class); |
| 4073 |
|
$this->thisScript = (string)$uriBuilder->buildUriFromRoutePath($routePath); |
| 4074 |
|
} else { |
| 4075 |
|
$this->thisScript = GeneralUtility::getIndpEnv('SCRIPT_NAME'); |
| 4076 |
|
} |
| 4077 |
|
} |
| 4078 |
|
|
| 4079 |
|
/** |
| 4080 |
|
* Returns a table-row with the content from the fields in the input data array. |
typo3/sysext/filelist/Classes/FileList.php 1 location
|
@@ 1524-1532 (lines=9) @@
|
| 1521 |
|
/** |
| 1522 |
|
* Sets the script url depending on being a module or script request |
| 1523 |
|
*/ |
| 1524 |
|
protected function determineScriptUrl() |
| 1525 |
|
{ |
| 1526 |
|
if ($routePath = GeneralUtility::_GP('route')) { |
| 1527 |
|
$uriBuilder = GeneralUtility::makeInstance(UriBuilder::class); |
| 1528 |
|
$this->thisScript = (string)$uriBuilder->buildUriFromRoutePath($routePath); |
| 1529 |
|
} else { |
| 1530 |
|
$this->thisScript = GeneralUtility::getIndpEnv('SCRIPT_NAME'); |
| 1531 |
|
} |
| 1532 |
|
} |
| 1533 |
|
|
| 1534 |
|
/** |
| 1535 |
|
* @return string |
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php 1 location
|
@@ 4211-4219 (lines=9) @@
|
| 4208 |
|
/** |
| 4209 |
|
* Sets the script url depending on being a module or script request |
| 4210 |
|
*/ |
| 4211 |
|
protected function determineScriptUrl() |
| 4212 |
|
{ |
| 4213 |
|
if ($routePath = GeneralUtility::_GP('route')) { |
| 4214 |
|
$uriBuilder = GeneralUtility::makeInstance(UriBuilder::class); |
| 4215 |
|
$this->thisScript = (string)$uriBuilder->buildUriFromRoutePath($routePath); |
| 4216 |
|
} else { |
| 4217 |
|
$this->thisScript = GeneralUtility::getIndpEnv('SCRIPT_NAME'); |
| 4218 |
|
} |
| 4219 |
|
} |
| 4220 |
|
|
| 4221 |
|
/** |
| 4222 |
|
* @return string |