‪TYPO3CMS  10.4
TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser Class Reference
Inheritance diagram for TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser:
TYPO3\CMS\Recordlist\Browser\DatabaseBrowser TYPO3\CMS\Recordlist\Browser\FileBrowser TYPO3\CMS\Recordlist\Browser\FolderBrowser TYPO3\CMS\Recordlist\Browser\RecordBrowser

Public Member Functions

 __construct ()
 

Protected Member Functions

 initialize ()
 
 determineScriptUrl ()
 
 initVariables ()
 
 setBodyTagParameters ()
 
array< string, getBodyTagAttributes();protected array< string, function getBParamDataAttributes() {[ $fieldRef, $rteParams, $rteConfig,, $irreObjectId]=explode('|', $this->bparams);return['data-this-script-url'=> strpos( $this->thisScript, '?')===false ? $this-> LanguageService function getLanguageService ()
 
BackendUserAuthentication getBackendUser ()
 

Protected Attributes

ModuleTemplate $moduleTemplate
 
PageRenderer $pageRenderer
 
string $thisScript = ''
 
IconFactory $iconFactory
 
string $bparams
 
array< string, function getBodyTagAttributes();protected array< string, function getBParamDataAttributes() {[ $fieldRef, $rteParams, $rteConfig,, $irreObjectId]=explode('|', $this->bparams);return['data-this-script-url'=> strpos( $this->thisScript, '?')===false ? $this-> thisScript: $this->thisScript . '&'
 

Detailed Description

Base class for element browsers

NOTE: This class should only be used internally. Extensions must implement the ElementBrowserInterface.

This class is a specific LinkBrowser implementation and is not part of the TYPO3's Core API.

Definition at line 32 of file AbstractElementBrowser.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser::__construct ( )

Member Function Documentation

◆ determineScriptUrl()

TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser::determineScriptUrl ( )
protected

◆ getBackendUser()

◆ getLanguageService()

array<string, getBodyTagAttributes(); protected array<string, function getBParamDataAttributes() { [$fieldRef, $rteParams, $rteConfig, , $irreObjectId] = explode('|', $this->bparams); return [ 'data-this-script-url' => strpos($this->thisScript, '?') === false ? $this-> LanguageService function TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser::getLanguageService ( )
protected

◆ initialize()

◆ initVariables()

◆ setBodyTagParameters()

TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser::setBodyTagParameters ( )
protected

Member Data Documentation

◆ $bparams

string TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser::$bparams
protected

Active with TYPO3 Element Browser: Contains the name of the form field for which this window opens - thus allows us to make references back to the main window in which the form is. Example value: "data[pages][39][bodytext]|||tt_content|" or "data[tt_content][NEW3fba56fde763d][image]|||gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai|" Values: 0: form field name reference, eg. "data[tt_content][123][image]" 1: htmlArea RTE parameters: editorNo:contentTypo3Language 2: RTE config parameters: RTEtsConfigParams 3: allowed types. Eg. "tt_content" or "gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai" 4: IRRE uniqueness: target level object-id to perform actions/checks on, eg. "data-4-pages-4-nav_icon-sys_file_reference" ("data-<uid>-<table>-<pid>-<field>-<foreign_table>")

$pArr = explode('|', $this->bparams); $formFieldName = $pArr[0]; $allowedTablesOrFileTypes = $pArr[3];

Definition at line 69 of file AbstractElementBrowser.php.

Referenced by TYPO3\CMS\Recordlist\Browser\FolderBrowser\getUrlParameters(), TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\getUrlParameters(), and TYPO3\CMS\Recordlist\Browser\FileBrowser\getUrlParameters().

◆ $iconFactory

IconFactory TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser::$iconFactory
protected

Definition at line 50 of file AbstractElementBrowser.php.

◆ $moduleTemplate

ModuleTemplate TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser::$moduleTemplate
protected

Definition at line 36 of file AbstractElementBrowser.php.

◆ $pageRenderer

PageRenderer TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser::$pageRenderer
protected

Definition at line 40 of file AbstractElementBrowser.php.

◆ $thisScript

◆ thisScript

array<string, function getBodyTagAttributes(); protected array<string, function getBParamDataAttributes() { [$fieldRef, $rteParams, $rteConfig, , $irreObjectId] = explode('|', $this->bparams); return [ 'data-this-script-url' => strpos($this->thisScript, '?') === false ? $this-> TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser::thisScript
abstractprotected
Returns
‪array<string, string> Array of body-tag attributes

Definition at line 144 of file AbstractElementBrowser.php.

Referenced by TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser\determineScriptUrl(), and TYPO3\CMS\Recordlist\Browser\FileBrowser\getBulkSelector().