TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController:
SC_show_item

Public Member Functions

 __construct ()
 
 init ()
 
 main ()
 
 printContent ()
 
 getLabelForTableColumn ($tableName, $fieldName)
 

Public Attributes

 $table
 
 $uid
 
 $access = FALSE
 
 $type = ''
 
 $doc
 
 $pageinfo
 

Protected Member Functions

 initFileOrFolderRecord ()
 
 renderPageTitle ()
 
 renderPreview ()
 
 renderPropertiesAsTable ()
 
 renderReferences ()
 
 renderFileInformationAsTable ($fieldList)
 
 getRecordActions ($table, $uid)
 
 makeRef ($table, $ref)
 
 makeRefFrom ($table, $ref)
 
 transformFileReferenceToRecordReference (array $referenceRecord)
 

Protected Attributes

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

Detailed Description

Script Class for showing information about an item.

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 29 of file ElementInformationController.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ 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 474 of file ElementInformationController.php.

References $GLOBALS.

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

◆ getRecordActions()

◆ init()

◆ initFileOrFolderRecord()

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

◆ main()

◆ makeRef()

◆ makeRefFrom()

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::makeRefFrom (   $table,
  $ref 
)
protected

◆ printContent()

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

End page and print content

Returns
void

Definition at line 461 of file ElementInformationController.php.

◆ renderFileInformationAsTable()

TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::renderFileInformationAsTable (   $fieldList)
protected

◆ renderPageTitle()

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

Render page title with icon, table title and record title

Returns
string

Definition at line 217 of file ElementInformationController.php.

References $GLOBALS, and TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\$table.

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

◆ renderPreview()

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

◆ renderPropertiesAsTable()

◆ 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 657 of file ElementInformationController.php.

References $GLOBALS.

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

Member Data Documentation

◆ $access

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

Definition at line 53 of file ElementInformationController.php.

◆ $content

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

◆ $doc

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

Definition at line 67 of file ElementInformationController.php.

◆ $fileObject

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

Definition at line 93 of file ElementInformationController.php.

◆ $folderObject

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

◆ $pageinfo

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

◆ $permsClause

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

Definition at line 48 of file ElementInformationController.php.

◆ $row

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

◆ $table

◆ $type

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

Definition at line 62 of file ElementInformationController.php.

◆ $uid