TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController Class Reference

Public Member Functions

 __construct ()
 
 init ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 
 main ()
 
 printContent ()
 
 getLabelForTableColumn ($tableName, $fieldName)
 

Public Attributes

 $table
 
 $uid
 
 $access = false
 
 $type = ''
 
 $doc
 
 $pageInfo
 

Protected Member Functions

 initDatabaseRecord ()
 
 initFileOrFolderRecord ()
 
 renderPageTitle ()
 
 renderReferences ()
 
 renderBackButton ()
 
 renderFileInformationAsTable ($fieldList)
 
 getRecordActions ($table, $uid)
 
 makeRef ($table, $ref)
 
 makeRefFrom ($table, $ref)
 
 transformFileReferenceToRecordReference (array $referenceRecord)
 
 getLanguageService ()
 
 getBackendUser ()
 
 getDatabaseConnection ()
 

Protected Attributes

 $permsClause
 
 $content = ''
 
 $row
 
 $fileObject
 
 $folderObject
 
 $titleTag
 
 $iconFactory
 

Detailed Description

Script Class for showing information about an item.

Definition at line 32 of file ElementInformationController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::__construct ( )

Member Function Documentation

◆ getBackendUser()

◆ getDatabaseConnection()

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::getDatabaseConnection ( )
protected

◆ getLabelForTableColumn()

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::getLabelForTableColumn (   $tableName,
  $fieldName 
)

Get field name for specified table/column name

Parameters
string$tableNameTable name
string$fieldNameColumn name
Returns
string label

Definition at line 591 of file ElementInformationController.php.

References $GLOBALS, and TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\getLanguageService().

Referenced by TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\makeRef(), and TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\makeRefFrom().

◆ getLanguageService()

◆ getRecordActions()

◆ init()

◆ initDatabaseRecord()

◆ initFileOrFolderRecord()

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::initFileOrFolderRecord ( )
protected

◆ main()

◆ mainAction()

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::mainAction ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Injects the request object for the current request or subrequest As this controller goes only through the main() method, it is rather simple for now

Parameters
ServerRequestInterface$requestthe current request
ResponseInterface$response
Returns
ResponseInterface the response with the content

Definition at line 204 of file ElementInformationController.php.

References TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\$content, and TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\main().

◆ makeRef()

◆ makeRefFrom()

◆ printContent()

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::printContent ( )

End page and print content

Returns
void
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8, use mainAction() instead

Definition at line 576 of file ElementInformationController.php.

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

◆ renderBackButton()

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::renderBackButton ( )
protected

◆ renderFileInformationAsTable()

◆ renderPageTitle()

◆ renderReferences()

◆ transformFileReferenceToRecordReference()

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::transformFileReferenceToRecordReference ( array  $referenceRecord)
protected

Convert FAL file reference (sys_file_reference) to reference index (sys_refindex) table format

Parameters
array$referenceRecord
Returns
array

Definition at line 889 of file ElementInformationController.php.

References TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\getDatabaseConnection().

Referenced by TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\makeRef().

Member Data Documentation

◆ $access

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::$access = false

Definition at line 56 of file ElementInformationController.php.

◆ $content

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::$content = ''
protected

◆ $doc

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::$doc

Definition at line 70 of file ElementInformationController.php.

◆ $fileObject

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::$fileObject
protected

Definition at line 95 of file ElementInformationController.php.

◆ $folderObject

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::$folderObject
protected

◆ $iconFactory

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::$iconFactory
protected

Definition at line 112 of file ElementInformationController.php.

◆ $pageInfo

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::$pageInfo

◆ $permsClause

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::$permsClause
protected

Definition at line 51 of file ElementInformationController.php.

◆ $row

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::$row
protected

◆ $table

◆ $titleTag

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::$titleTag
protected

Definition at line 107 of file ElementInformationController.php.

◆ $type

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::$type = ''

Definition at line 65 of file ElementInformationController.php.

◆ $uid