TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\Controller\LinkBrowserController Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Controller\LinkBrowserController:
TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController

Public Member Functions

 encodeTypoLink (ServerRequestInterface $request, ResponseInterface $response)
 

Protected Member Functions

 initCurrentUrl ()
 
 initDocumentTemplate ()
 
 areFieldChangeFunctionsValid ($handleFlexformSections=false)
 
 getBodyTagAttributes ()
 
 getCurrentPageId ()
 

Additional Inherited Members

Detailed Description

Extended controller for link browser

Definition at line 28 of file LinkBrowserController.php.

Member Function Documentation

◆ areFieldChangeFunctionsValid()

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$handleFlexformSectionsWhether to handle flexform sections differently
Returns
bool Whether the submitted field change functions are valid

Definition at line 103 of file LinkBrowserController.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\hmac().

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

◆ encodeTypoLink()

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

Encode a typolink via ajax

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

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
ResponseInterface

Definition at line 82 of file LinkBrowserController.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ getBodyTagAttributes()

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

◆ getCurrentPageId()

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

◆ initCurrentUrl()

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

◆ initDocumentTemplate()

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