‪TYPO3CMS  11.5
TYPO3\CMS\Backend\Controller\LinkBrowserController Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Controller\LinkBrowserController:
TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController

Public Member Functions

ResponseInterface encodeTypoLink (ServerRequestInterface $request)
 
array getConfiguration ()
 

Protected Member Functions

 initCurrentUrl ()
 
 initDocumentTemplate ()
 
bool areFieldChangeFunctionsValid ($handleFlexformSections=false)
 
 strReplaceRecursively (string $search, string $replace, array $array)
 
int getCurrentPageId ()
 

Additional Inherited Members

Detailed Description

Extended controller for link browser

Definition at line 30 of file LinkBrowserController.php.

Member Function Documentation

◆ areFieldChangeFunctionsValid()

bool TYPO3\CMS\Backend\Controller\LinkBrowserController::areFieldChangeFunctionsValid (   $handleFlexformSections = false)
protected

Determines whether submitted field change functions are valid and are coming from the system and not from an external abuse.

Parameters
bool$handleFlexformSections‪Whether to handle flexform sections differently
Returns
‪bool Whether the submitted field change functions are valid

Definition at line 111 of file LinkBrowserController.php.

References TYPO3\CMS\Backend\Controller\LinkBrowserController\strReplaceRecursively().

Referenced by TYPO3\CMS\Backend\Controller\LinkBrowserController\initDocumentTemplate().

◆ encodeTypoLink()

ResponseInterface TYPO3\CMS\Backend\Controller\LinkBrowserController::encodeTypoLink ( ServerRequestInterface  $request)

Encode a typolink via ajax

This avoids to implement the encoding functionality again in JS for the browser.

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 92 of file LinkBrowserController.php.

◆ getConfiguration()

array TYPO3\CMS\Backend\Controller\LinkBrowserController::getConfiguration ( )

Retrieve the configuration

Returns
‪array

Reimplemented from TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController.

Definition at line 173 of file LinkBrowserController.php.

References TYPO3\CMS\Backend\Controller\LinkBrowserController\getCurrentPageId().

◆ getCurrentPageId()

int TYPO3\CMS\Backend\Controller\LinkBrowserController::getCurrentPageId ( )
protected

◆ initCurrentUrl()

TYPO3\CMS\Backend\Controller\LinkBrowserController::initCurrentUrl ( )
protected

◆ initDocumentTemplate()

TYPO3\CMS\Backend\Controller\LinkBrowserController::initDocumentTemplate ( )
protected

◆ strReplaceRecursively()

TYPO3\CMS\Backend\Controller\LinkBrowserController::strReplaceRecursively ( string  $search,
string  $replace,
array  $array 
)
protected