2 namespace TYPO3\CMS\Recordlist\Controller;
62 $this->doc->bodyTagId =
'typo3-browse-links-php';
90 if ($this->mode ===
'wizard' || $this->mode ===
'rte') {
91 return $response->
withStatus(303)->withHeader(
'Location', BackendUtility::getModuleUrl(
'wizard_link', $_GET,
false,
true));
108 $browserRendered =
false;
109 if (is_array(
$GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
'typo3/browse_links.php'][
'browserRendering'])) {
110 foreach (
$GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
'typo3/browse_links.php'][
'browserRendering'] as $classRef) {
112 if (is_object($browserRenderObj) && method_exists($browserRenderObj,
'isValid') && method_exists($browserRenderObj,
'render')) {
113 if ($browserRenderObj->isValid($this->mode, $this)) {
114 $content = $browserRenderObj->render($this->mode, $this);
115 $browserRendered =
true;
123 if (!$browserRendered) {
127 $modData = $backendUser->getModuleData(
'browse_links.php',
'ses');
128 list($modData) = $browser->processSessionData($modData);
129 $backendUser->pushModuleData(
'browse_links.php', $modData);
131 $content = $browser->render();
150 throw new \UnexpectedValueException(
'The specified element browser "' . $className .
'" does not implement the required ElementBrowserInterface', 1442763890);