TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AbstractElementBrowser Class Reference
Inheritance diagram for AbstractElementBrowser:
DatabaseBrowser FileBrowser FolderBrowser

Public Member Functions

 __construct ()
 

Protected Member Functions

 initialize ()
 
 determineScriptUrl ()
 
 initVariables ()
 
 initDocumentTemplate ()
 
 getBodyTagAttributes ()
 
 getBParamDataAttributes ()
 
 getLanguageService ()
 
 getBackendUser ()
 

Protected Attributes

 $doc
 
 $pageRenderer = null
 
 $thisScript = ''
 
 $iconFactory
 
 $bparams
 

Detailed Description

Base class for element browsers

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

Definition at line 32 of file AbstractElementBrowser.php.

Constructor & Destructor Documentation

__construct ( )

Member Function Documentation

determineScriptUrl ( )
protected

Sets the script url depending on being a module or script request

Returns
void

Definition at line 110 of file AbstractElementBrowser.php.

References GeneralUtility\_GP(), elseif, GeneralUtility\getIndpEnv(), and GeneralUtility\makeInstance().

Referenced by AbstractElementBrowser\initialize().

getBackendUser ( )
protected
getBodyTagAttributes ( )
abstractprotected
Returns
string[] Array of body-tag attributes

Referenced by AbstractElementBrowser\initDocumentTemplate().

getBParamDataAttributes ( )
protected

Splits parts of $this->bparams and returns needed data attributes for the Javascript

Returns
string[] Data attributes for Javascript

Definition at line 166 of file AbstractElementBrowser.php.

Referenced by AbstractElementBrowser\initDocumentTemplate().

getLanguageService ( )
protected
initDocumentTemplate ( )
protected

Initialize document template object

Returns
void

Definition at line 140 of file AbstractElementBrowser.php.

References AbstractElementBrowser\getBodyTagAttributes(), and AbstractElementBrowser\getBParamDataAttributes().

initialize ( )
protected

Main initialization

Returns
void

Definition at line 99 of file AbstractElementBrowser.php.

References AbstractElementBrowser\determineScriptUrl(), and AbstractElementBrowser\initVariables().

Referenced by AbstractElementBrowser\__construct().

initVariables ( )
protected
Returns
void

Definition at line 127 of file AbstractElementBrowser.php.

References GeneralUtility\_GP().

Referenced by AbstractElementBrowser\initialize().

Member Data Documentation

$bparams
protected
$doc
protected

Definition at line 37 of file AbstractElementBrowser.php.

$iconFactory
protected

Definition at line 54 of file AbstractElementBrowser.php.

$pageRenderer = null
protected

Definition at line 42 of file AbstractElementBrowser.php.

$thisScript = ''
protected