‪TYPO3CMS  9.5
TYPO3\CMS\Backend\View\PageLayoutView Class Reference
Inheritance diagram for TYPO3\CMS\Backend\View\PageLayoutView:

Public Member Functions

 __construct ()
 
string getTable ($table, $id, $fields='')
 
string getExternalTables ($id, $table)
 
string getTable_pages ($id)
 
string getTable_tt_content ($id)
 
string makeOrdinaryList ($table, $id, $fList, $icon=false, $addWhere='')
 
array dataFields ($fieldArr, $table, $row, $out=[])
 
array headerFields ($fieldArr, $table, $out=[])
 
string pages_drawItem ($row, $fieldArr)
 
string tt_content_drawColHeader ($colName, $editParams='')
 
string tt_content_drawHeader ($row, $space=0, $disableMoveAndNewButtons=false, $langMode=false, $dragDropEnabled=false)
 
string tt_content_drawItem ($row)
 
array getNonTranslatedTTcontentUids ($defaultLanguageUids, $id, $lP)
 
string newLanguageButton ($defaultLanguageUids, $lP)
 
string newContentElementOnClick ($id, $colPos, $sys_language)
 
string linkEditContent ($str, $row)
 
string languageSelector ($id)
 
array getResult (Statement $result, string $table='tt_content')
 
int numberOfRecords ($table, $pid)
 
string renderText ($input)
 
string getIcon ($table, $row, $enabledClickMenuItems='')
 
 getProcessedValue ($table, $fieldList, array $row, array &$info)
 
bool isDisabled ($table, $row)
 
string noEditIcon ($label='noEditItems')
 
string getTableMenu ($id)
 
string getThumbCodeUnlinked ($row, $table, $field)
 
 start ($id, $table, $pointer, $search='', $levels=0, $showLimit=0)
 
 generateList ()
 
string getSearchBox ($formFields=true)
 
 setDispFields ()
 
string thumbCode ($row, $table, $field)
 
TYPO3 CMS Core Database Query QueryBuilder getQueryBuilder (string $table, int $pageId, array $additionalConstraints=[], array $fields=[' *'])
 
 setTotalItems (string $table, int $pageId, array $constraints)
 
string makeSearchString ($table, $currentPid=-1)
 
string linkWrapTable ($table, $code)
 
string linkWrapItems ($table, $uid, $code, $row)
 
string linkUrlMail ($code, $testString)
 
string listURL ($altId='', $table='-1', $exclList='')
 
string requestUri ()
 
string[] makeFieldList ($table, $dontCheckUser=false, $addDateFields=false)
 
 localizationRedirect ($justLocalized)
 
 setOverrideUrlParameters (array $urlParameters)
 
 setTableDisplayOrder (array $orderInformation)
 
array getOverridePageIdList ()
 
 setOverridePageIdList (array $overridePageIdList)
 
string addElement ($h, $icon, $data, $rowParams='', $_='', $_2='', $colType='td')
 
 writeTop ()
 
array fwd_rwd_nav ($table='')
 
string fwd_rwd_HTML ($type, $pointer, $table='')
 
string CBfunctions ()
 
 initializeLanguages ()
 
string languageFlag ($sys_language_uid, $addAsAdditionalText=true)
 

Public Attributes

bool $pI_showUser = false
 
int $nextThree = 3
 
bool $pages_noEditColumns = false
 
bool $option_newWizard = true
 
int $ext_function = 0
 
bool $doEdit = true
 
string $agePrefixes = ' min| hrs| days| yrs| min| hour| day| year'
 
array $externalTables = array( )
 
string $descrTable
 
bool $defLangBinding = false
 
array $tt_contentConfig
 
array $activeTables = array( )
 
array $tt_contentData
 
array $CType_labels = array( )
 
array $itemLabels = array( )
 
int $allFields = 0
 
int $showLimit = 0
 
array $modSharedTSconfig = array( )
 
string $hideTables = ''
 
string[] $displayFields
 
string $hideTranslations = ''
 
bool $csvOutput = false
 
mixed[] $recPath_cache = array( )
 
string $sortField
 
int $itemsLimitPerTable = 20
 
string $perms_clause = ''
 
int $id
 
string $returnUrl = ''
 
string $table = ''
 
int $calcPerms = 0
 
string $clickTitleMode = ''
 
int $searchLevels = ''
 
int $iLimit = 0
 
string $totalItems = ''
 
mixed[][] $tableTSconfigOverTCA = array( )
 
string[] $pageRecord = array( )
 
string[] $duplicateStack = array( )
 
string[] $setFields = array( )
 
string $script = 'index.php'
 
bool $listOnlyInSingleTableMode = false
 
string $JScode = ''
 
int $firstElementNumber = 0
 
int $eCounter = 0
 
string $searchString = ''
 
int $itemsLimitSingleTable = 100
 
bool $sortRev
 
string $duplicateField
 
string $tableList = ''
 
int[][] $tablesCollapsed = array( )
 
array[] $modTSconfig
 
string $HTMLcode = ''
 
bool $thumbs = 0
 
int[][] $currentTable = array( )
 
int $leftMargin = 0
 
array $fieldArray = array( )
 
int $setLMargin = 1
 
array $pageOverlays = array( )
 
int $counter = 0
 
array $languageIconTitles = array( )
 
string $thisScript = ''
 
string $oddColumnsCssClass = ''
 
int $fixedL = 30
 
TranslationConfigurationProvider $translateTools
 
array $addElement_tdParams = array( )
 
int $no_noWrap = 0
 
int $showIcon = 1
 
array $addElement_tdCssClass = array( )
 
int $ext_CALC_PERMS
 

Protected Member Functions

array getContentRecordsPerColumn ($table, $id, array $columns, $additionalWhereClause='')
 
array getPageRecordsRecursive (int $pid, int $depth, string $iconPrefix='', array $rows=[])
 
string getPagesTableFieldValue ($field, array $row)
 
string tt_content_drawPasteIcon ($pasteItem, $pasteTitle, $copyMode, $cssClass, $title)
 
string tt_content_drawFooter (array $row)
 
int getReferenceCount (string $tableName, int $uid)
 
bool isDragAndDropAllowed (array $row)
 
string generateListForCTypeMenu (array $row)
 
 initializeClipboard ()
 
 generateTtContentDataArray (array $rowArray)
 
bool checkIfTranslationsExistInLanguage (array $contentElements, int $language)
 
BackendLayoutView getBackendLayoutView ()
 
BackendUserAuthentication getBackendUser ()
 
PageLayoutController getPageLayoutController ()
 
QueryBuilder prepareQueryBuilder (string $table, int $pageId, array $fieldList=[' *'], array $additionalConstraints=[], QueryBuilder $queryBuilder, bool $addSorting=true)
 
string[] getSearchFields ($tableName)
 
int[] getSearchableWebmounts ($id, $depth, $perms_clause)
 
QueryBuilder addPageIdConstraint (string $tableName, QueryBuilder $queryBuilder)
 
 logDeprecation (string $index)
 
 determineScriptUrl ()
 
string getThisScript ()
 
string renderLanguageFlag (SiteLanguage $language)
 
 resolveSiteLanguages (int $pageId)
 
string generateReferenceToolTip ($references, $launchViewParameter='')
 
string getLocalizedPageTitle ()
 
bool isPageEditable ()
 
bool isContentEditable (?int $languageId=null)
 
LanguageService getLanguageService ()
 

Protected Attributes

SiteLanguage[] $siteLanguages = array( )
 
TYPO3 CMS Backend Clipboard Clipboard $clipboard
 
array $pageinfo
 
array $languagesInColumnCache = array( )
 
array $contentElementCache = array( )
 
IconFactory $iconFactory
 
array $languageHasTranslationsCache = array( )
 
LocalizationController $localizationController
 
array $overridePageIdList = array( )
 
string[] $overrideUrlParameters = array( )
 
array[] $tableDisplayOrder = array( )
 
array $referenceCount = array( )
 

Detailed Description

Child class for the Web > Page module

This class is a TYPO3 Backend implementation and is not considered part of the Public TYPO3 API.

Definition at line 60 of file PageLayoutView.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\View\PageLayoutView::__construct ( )

Construct to initialize class variables.

Definition at line 559 of file PageLayoutView.php.

References $GLOBALS, and TYPO3\CMS\Backend\View\PageLayoutView\determineScriptUrl().

Member Function Documentation

◆ addElement()

string TYPO3\CMS\Backend\View\PageLayoutView::addElement (   $h,
  $icon,
  $data,
  $rowParams = '',
  $_ = '',
  $_2 = '',
  $colType = 'td' 
)

Returns a table-row with the content from the fields in the input data array. OBS: $this->fieldArray MUST be set! (represents the list of fields to display)

Parameters
int$h‪Is an integer >=0 and denotes how tall an element is. Set to '0' makes a halv line, -1 = full line, set to 1 makes a 'join' and above makes 'line'
string$icon‪Is the + of the record. If not supplied the first 'join'-icon will be a 'line' instead
array$data‪Is the dataarray, record with the fields. Notice: These fields are (currently) NOT htmlspecialchar'ed before being wrapped in

-tags

Parameters
string$rowParams‪Is insert in the

-tags. Must carry a ' ' as first character

Parameters
string$_‪OBSOLETE - NOT USED ANYMORE. $lMargin is the leftMargin (int)
string$_2‪OBSOLETE - NOT USED ANYMORE. Is the HTML -tag for an alternative 'gfx/ol/line.gif'-icon (used in the top)
string$colType‪Defines the tag being used for the columns. Default is td.
Returns
‪string HTML content for the table row

Definition at line 4040 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\Backend\View\PageLayoutView\makeOrdinaryList(), and TYPO3\CMS\Backend\View\PageLayoutView\pages_drawItem().

◆ addPageIdConstraint()

QueryBuilder TYPO3\CMS\Backend\View\PageLayoutView::addPageIdConstraint ( string  $tableName,
QueryBuilder  $queryBuilder 
)
protected

Add conditions to the QueryBuilder object ($queryBuilder) to limit a query to a list of page IDs based on the current search level setting.

Parameters
string$tableName
QueryBuilder$queryBuilder
Returns
‪QueryBuilder Modified QueryBuilder object

Definition at line 3959 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\generateList(), and TYPO3\CMS\Backend\View\PageLayoutView\prepareQueryBuilder().

◆ CBfunctions()

string TYPO3\CMS\Backend\View\PageLayoutView::CBfunctions ( )

Returning JavaScript for ClipBoard functionality.

Returns
‪string

Definition at line 4200 of file PageLayoutView.php.

◆ checkIfTranslationsExistInLanguage()

bool TYPO3\CMS\Backend\View\PageLayoutView::checkIfTranslationsExistInLanguage ( array  $contentElements,
int  $language 
)
protected

Checks whether translated Content Elements exist in the desired language If so, deny creating new ones via the UI

Parameters
array$contentElements
int$language
Returns
‪bool

Build up caches

Definition at line 2822 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService(), TYPO3\CMS\Backend\Utility\BackendUtility\getPagesTSconfig(), and TYPO3\CMS\Core\Messaging\AbstractMessage\WARNING.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

◆ dataFields()

array TYPO3\CMS\Backend\View\PageLayoutView::dataFields (   $fieldArr,
  $table,
  $row,
  $out = [] 
)

Adds content to all data fields in $out array

Each field name in $fieldArr has a special feature which is that the field name can be specified as more field names. Eg. "field1,field2;field3". Field 2 and 3 will be shown in the same cell of the table separated by
while field1 will have its own cell.

Parameters
array$fieldArr‪Array of fields to display
string$table‪Table name
array$row‪Record array
array$out‪Array to which the data is added
Returns
‪array $out array returned after processing.
See also
makeOrdinaryList()

Definition at line 1498 of file PageLayoutView.php.

References $GLOBALS, TYPO3\CMS\Backend\View\PageLayoutView\$table, TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService(), TYPO3\CMS\Backend\Utility\BackendUtility\getProcessedValue(), TYPO3\CMS\Backend\View\PageLayoutView\isDisabled(), and TYPO3\CMS\Backend\View\PageLayoutView\thumbCode().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\makeOrdinaryList().

◆ determineScriptUrl()

TYPO3\CMS\Backend\View\PageLayoutView::determineScriptUrl ( )
protected

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

Definition at line 4016 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\__construct().

◆ fwd_rwd_HTML()

string TYPO3\CMS\Backend\View\PageLayoutView::fwd_rwd_HTML (   $type,
  $pointer,
  $table = '' 
)

Creates the button with link to either forward or reverse

Parameters
string$type‪Type: "fwd" or "rwd
int$pointer‪Pointer
string$table‪Table name
Returns
‪string

Definition at line 4164 of file PageLayoutView.php.

◆ fwd_rwd_nav()

array TYPO3\CMS\Backend\View\PageLayoutView::fwd_rwd_nav (   $table = '')

Creates a forward/reverse button based on the status of ->eCounter, ->firstElementNumber, ->iLimit

Parameters
string$table‪Table name
Returns
‪array array([boolean], [HTML]) where [boolean] is 1 for reverse element, [HTML] is the table-row code for the element

Definition at line 4132 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), and TYPO3\CMS\Backend\View\PageLayoutView\makeOrdinaryList().

◆ generateList()

TYPO3\CMS\Backend\View\PageLayoutView::generateList ( )

◆ generateListForCTypeMenu()

string TYPO3\CMS\Backend\View\PageLayoutView::generateListForCTypeMenu ( array  $row)
protected

Generates a list of selected pages or categories for the CType menu

Parameters
array$row‪row from pages
Returns
‪string

Definition at line 2259 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$table, and TYPO3\CMS\Backend\Utility\BackendUtility\getRecord().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawItem().

◆ generateReferenceToolTip()

string TYPO3\CMS\Backend\View\PageLayoutView::generateReferenceToolTip (   $references,
  $launchViewParameter = '' 
)
protected

Generates HTML code for a Reference tooltip out of sys_refindex records you hand over

Parameters
int$references‪number of records from sys_refindex table
string$launchViewParameter‪JavaScript String, which will be passed as parameters to top.TYPO3.InfoWindow.showItem
Returns
‪string

Definition at line 4342 of file PageLayoutView.php.

◆ generateTtContentDataArray()

TYPO3\CMS\Backend\View\PageLayoutView::generateTtContentDataArray ( array  $rowArray)
protected

Generates the data for previous and next elements which is needed for movements.

Parameters
array$rowArray

Definition at line 2580 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$nextThree.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getResult(), and TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

◆ getBackendLayoutView()

BackendLayoutView TYPO3\CMS\Backend\View\PageLayoutView::getBackendLayoutView ( )
protected

◆ getBackendUser()

◆ getContentRecordsPerColumn()

array TYPO3\CMS\Backend\View\PageLayoutView::getContentRecordsPerColumn (   $table,
  $id,
array  $columns,
  $additionalWhereClause = '' 
)
protected

Gets content records per column. This is required for correct workspace overlays.

Parameters
string$table‪UNUSED (will always be queried from tt_content)
int$id‪Page Id to be used (not used at all, but part of the API, see $this->pidSelect)
array$columns‪colPos values to be considered to be shown
string$additionalWhereClause‪Additional where clause for database select
Returns
‪array Associative array for each column (colPos)

Definition at line 1576 of file PageLayoutView.php.

References $GLOBALS, TYPO3\CMS\Backend\View\PageLayoutView\getQueryBuilder(), and TYPO3\CMS\Backend\View\PageLayoutView\getResult().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

◆ getExternalTables()

string TYPO3\CMS\Backend\View\PageLayoutView::getExternalTables (   $id,
  $table 
)

◆ getIcon()

string TYPO3\CMS\Backend\View\PageLayoutView::getIcon (   $table,
  $row,
  $enabledClickMenuItems = '' 
)

Creates the icon image tag for record from table and wraps it in a link which will trigger the click menu.

Parameters
string$table‪Table name
array$row‪Record array
string$enabledClickMenuItems‪Passthrough to wrapClickMenuOnIcon
Returns
‪string HTML for the icon

Definition at line 2661 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$table, TYPO3\CMS\Backend\View\PageLayoutView\getBackendUser(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordToolTip(), TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL, and TYPO3\CMS\Backend\Utility\BackendUtility\wrapClickMenuOnIcon().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\makeOrdinaryList(), TYPO3\CMS\Backend\View\PageLayoutView\pages_drawItem(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader().

◆ getLanguageService()

◆ getLocalizedPageTitle()

string TYPO3\CMS\Backend\View\PageLayoutView::getLocalizedPageTitle ( )
protected
Returns
‪string $title

Definition at line 4367 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\newLanguageButton().

◆ getNonTranslatedTTcontentUids()

array TYPO3\CMS\Backend\View\PageLayoutView::getNonTranslatedTTcontentUids (   $defaultLanguageUids,
  $id,
  $lP 
)

Filters out all tt_content uids which are already translated so only non-translated uids is left. Selects across columns, but within in the same PID. Columns are expect to be the same for translations and original but this may be a conceptual error (?)

Parameters
array$defaultLanguageUids‪Numeric array with uids of tt_content elements in the default language
int$id‪Page pid
int$lP‪Sys language UID
Returns
‪array Modified $defLanguageCount

Definition at line 2291 of file PageLayoutView.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\workspaceOL().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

◆ getOverridePageIdList()

array TYPO3\CMS\Backend\View\PageLayoutView::getOverridePageIdList ( )
Returns
‪array

Definition at line 3905 of file PageLayoutView.php.

◆ getPageLayoutController()

PageLayoutController TYPO3\CMS\Backend\View\PageLayoutView::getPageLayoutController ( )
protected

◆ getPageRecordsRecursive()

array TYPO3\CMS\Backend\View\PageLayoutView::getPageRecordsRecursive ( int  $pid,
int  $depth,
string  $iconPrefix = '',
array  $rows = [] 
)
protected

Adds pages-rows to an array, selecting recursively in the page tree.

Parameters
int$pid‪Starting page id to select from
string$iconPrefix‪Prefix for icon code.
int$depth‪Depth (decreasing)
array$rows‪Array which will accumulate page rows
Returns
‪array $rows with added rows.

Definition at line 1626 of file PageLayoutView.php.

References $GLOBALS, TYPO3\CMS\Core\Type\Bitmask\Permission\PAGE_SHOW, and TYPO3\CMS\Backend\Utility\BackendUtility\workspaceOL().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages().

◆ getPagesTableFieldValue()

string TYPO3\CMS\Backend\View\PageLayoutView::getPagesTableFieldValue (   $field,
array  $row 
)
protected

Returns the HTML code for rendering a field in the pages table. The row value is processed to a human readable form and the result is parsed through htmlspecialchars().

Parameters
string$field‪The name of the field of which the value should be rendered.
array$row‪The pages table row as an associative array.
Returns
‪string The rendered table field value.

Definition at line 1764 of file PageLayoutView.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\getProcessedValue().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\pages_drawItem().

◆ getProcessedValue()

TYPO3\CMS\Backend\View\PageLayoutView::getProcessedValue (   $table,
  $fieldList,
array  $row,
array &  $info 
)

Creates processed values for all field names in $fieldList based on values from $row array. The result is 'returned' through $info which is passed as a reference

Parameters
string$table‪Table name
string$fieldList‪Comma separated list of fields.
array$row‪Record from which to take values for processing.
array$info‪Array to which the processed values are added.

Definition at line 2683 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$table, and TYPO3\CMS\Backend\Utility\BackendUtility\getProcessedValue().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawFooter().

◆ getQueryBuilder()

TYPO3 CMS Core Database Query QueryBuilder TYPO3\CMS\Backend\View\PageLayoutView::getQueryBuilder ( string  $table,
int  $pageId,
array  $additionalConstraints = [],
array  $fields = ['*'] 
)

Returns a QueryBuilder configured to select $fields from $table where the pid is restricted depending on the current searchlevel setting.

Parameters
string$table‪Table name
int$pageId‪Page id Only used to build the search constraints, getPageIdConstraint() used for restrictions
string[]$additionalConstraints‪Additional part for where clause
string[]$fields‪Field list to select, * for all
Returns
‪\TYPO3\CMS\Core\Database\Query\QueryBuilder

Definition at line 3232 of file PageLayoutView.php.

References $fields, TYPO3\CMS\Backend\View\PageLayoutView\$table, TYPO3\CMS\Core\Database\Query\Restriction\QueryRestrictionContainerInterface\add(), TYPO3\CMS\Core\Database\Query\QueryBuilder\getRestrictions(), TYPO3\CMS\Backend\View\PageLayoutView\prepareQueryBuilder(), and TYPO3\CMS\Core\Database\Query\Restriction\QueryRestrictionContainerInterface\removeAll().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getContentRecordsPerColumn(), and TYPO3\CMS\Backend\View\PageLayoutView\makeOrdinaryList().

◆ getReferenceCount()

int TYPO3\CMS\Backend\View\PageLayoutView::getReferenceCount ( string  $tableName,
int  $uid 
)
protected

Gets the number of records referencing the record with the UID $uid in the table $tableName.

Parameters
string$tableName
int$uid
Returns
‪int The number of references to record $uid in table

Definition at line 2028 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader().

◆ getResult()

array TYPO3\CMS\Backend\View\PageLayoutView::getResult ( Statement  $result,
string  $table = 'tt_content' 
)

Traverse the result pointer given, adding each record to array and setting some internal values at the same time.

Parameters
Statement$result‪DBAL Statement
string$table‪Table name defaulting to tt_content
Returns
‪array The selected rows returned in this array.

Definition at line 2528 of file PageLayoutView.php.

References $output, TYPO3\CMS\Backend\View\PageLayoutView\$table, TYPO3\CMS\Backend\View\PageLayoutView\generateTtContentDataArray(), and TYPO3\CMS\Backend\Utility\BackendUtility\workspaceOL().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getContentRecordsPerColumn().

◆ getSearchableWebmounts()

int [] TYPO3\CMS\Backend\View\PageLayoutView::getSearchableWebmounts (   $id,
  $depth,
  $perms_clause 
)
protected

Get all allowed mount pages to be searched in.

Parameters
int$id‪Page id
int$depth‪Depth to go down
string$perms_clause‪select clause
Returns
‪int[]

Definition at line 3926 of file PageLayoutView.php.

◆ getSearchBox()

string TYPO3\CMS\Backend\View\PageLayoutView::getSearchBox (   $formFields = true)

Creates the search box

Parameters
bool$formFields‪If TRUE, the search box is wrapped in its own form-tags
Returns
‪string HTML for the search box

Definition at line 3098 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService(), TYPO3\CMS\Backend\Utility\BackendUtility\getPagesTSconfig(), TYPO3\CMS\Backend\View\PageLayoutView\listURL(), and TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL.

◆ getSearchFields()

string [] TYPO3\CMS\Backend\View\PageLayoutView::getSearchFields (   $tableName)
protected

Fetches a list of fields to use in the Backend search for the given table.

Parameters
string$tableName
Returns
‪string[]

Definition at line 3529 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$fieldArray, $GLOBALS, and TYPO3\CMS\Backend\View\PageLayoutView\$searchString.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\makeSearchString().

◆ getTable()

string TYPO3\CMS\Backend\View\PageLayoutView::getTable (   $table,
  $id,
  $fields = '' 
)

Adds the code of a single table

Parameters
string$table‪Table name
int$id‪Current page id
string$fields
Returns
‪string HTML for listing.

Definition at line 588 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$table, TYPO3\CMS\Backend\View\PageLayoutView\getExternalTables(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), and TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\generateList().

◆ getTable_pages()

◆ getTable_tt_content()

string TYPO3\CMS\Backend\View\PageLayoutView::getTable_tt_content (   $id)

Renders Content Elements from the tt_content table from page id

Parameters
int$id‪Page id
Returns
‪string HTML for the listing

Definition at line 768 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$defLangBinding, $GLOBALS, TYPO3\CMS\Backend\View\PageLayoutView\$id, TYPO3\CMS\Backend\Utility\BackendUtility\BEgetRootLine(), TYPO3\CMS\Core\Type\Enumeration\cast(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\check(), TYPO3\CMS\Backend\View\PageLayoutView\checkIfTranslationsExistInLanguage(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\checkLanguageAccess(), TYPO3\CMS\Core\Type\Bitmask\Permission\CONTENT_EDIT, TYPO3\CMS\Core\Versioning\VersionState\DELETE_PLACEHOLDER, TYPO3\CMS\Backend\View\PageLayoutView\generateTtContentDataArray(), TYPO3\CMS\Backend\View\PageLayoutView\getBackendLayoutView(), TYPO3\CMS\Backend\View\PageLayoutView\getBackendUser(), TYPO3\CMS\Backend\View\PageLayoutView\getContentRecordsPerColumn(), TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService(), TYPO3\CMS\Core\Localization\LanguageService\getLL(), TYPO3\CMS\Backend\View\PageLayoutView\getNonTranslatedTTcontentUids(), TYPO3\CMS\Backend\View\PageLayoutView\getPageLayoutController(), TYPO3\CMS\Backend\Utility\BackendUtility\getPagesTSconfig(), TYPO3\CMS\Backend\Utility\BackendUtility\getProcessedValue(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecord(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordLocalization(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordTitle(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordWSOL(), TYPO3\CMS\Backend\View\BackendLayoutView\getSelectedBackendLayout(), TYPO3\CMS\Core\Utility\StringUtility\getUniqueId(), TYPO3\CMS\Backend\View\PageLayoutView\initializeClipboard(), TYPO3\CMS\Backend\View\PageLayoutView\initializeLanguages(), TYPO3\CMS\Backend\View\PageLayoutView\isContentEditable(), TYPO3\CMS\Backend\View\PageLayoutView\isDisabled(), TYPO3\CMS\Backend\View\PageLayoutView\isPageEditable(), TYPO3\CMS\Backend\View\PageLayoutView\languageSelector(), TYPO3\CMS\Backend\View\PageLayoutView\newLanguageButton(), TYPO3\CMS\Backend\Utility\BackendUtility\readPageAccess(), TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL, TYPO3\CMS\Core\Localization\LanguageService\sL(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawColHeader(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawFooter(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawItem(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawPasteIcon(), TYPO3\CMS\Backend\Utility\BackendUtility\viewOnClick(), TYPO3\CMS\Core\Messaging\AbstractMessage\WARNING, TYPO3\CMS\Backend\Utility\BackendUtility\workspaceOL(), and TYPO3\CMS\Backend\Utility\BackendUtility\wrapClickMenuOnIcon().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable().

◆ getTableMenu()

string TYPO3\CMS\Backend\View\PageLayoutView::getTableMenu (   $id)

Creates a menu of the tables that can be listed by this function Only tables which has records on the page will be included. Notice: The function also fills in the internal variable $this->activeTables with icon/titles.

Parameters
int$id‪Page id from which we are listing records (the function will look up if there are records on the page)
Returns
‪string HTML output.

Definition at line 2739 of file PageLayoutView.php.

References $GLOBALS, TYPO3\CMS\Backend\View\PageLayoutView\$id, TYPO3\CMS\Backend\View\PageLayoutView\getBackendUser(), TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded(), and TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL.

◆ getThisScript()

string TYPO3\CMS\Backend\View\PageLayoutView::getThisScript ( )
protected
Returns
‪string

Definition at line 4190 of file PageLayoutView.php.

◆ getThumbCodeUnlinked()

string TYPO3\CMS\Backend\View\PageLayoutView::getThumbCodeUnlinked (   $row,
  $table,
  $field 
)

Create thumbnail code for record/field but not linked

Parameters
mixed[]$row‪Record array
string$table‪Table (record is from)
string$field‪Field name for which thumbnail are to be rendered.
Returns
‪string HTML for thumbnails, if any.

Definition at line 2809 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$table, and TYPO3\CMS\Backend\Utility\BackendUtility\thumbCode().

Referenced by TYPO3\CMS\Frontend\Hooks\PageLayoutView\TextmediaPreviewRenderer\preProcess(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawItem().

◆ headerFields()

array TYPO3\CMS\Backend\View\PageLayoutView::headerFields (   $fieldArr,
  $table,
  $out = [] 
)

Header fields made for the listing of records

Parameters
array$fieldArr‪Field names
string$table‪The table name
array$out‪Array to which the headers are added.
Returns
‪array $out returned after addition of the header fields.
See also
makeOrdinaryList()

Definition at line 1557 of file PageLayoutView.php.

References $GLOBALS, TYPO3\CMS\Backend\View\PageLayoutView\$table, and TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\makeOrdinaryList().

◆ initializeClipboard()

TYPO3\CMS\Backend\View\PageLayoutView::initializeClipboard ( )
protected

Initializes the clipboard for generating paste links

See also
‪\TYPO3\CMS\Backend\Controller\ContextMenuController::clipboardAction()
‪\TYPO3\CMS\Filelist\Controller\FileListController::indexAction()

Definition at line 2557 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

◆ initializeLanguages()

TYPO3\CMS\Backend\View\PageLayoutView::initializeLanguages ( )

◆ isContentEditable()

bool TYPO3\CMS\Backend\View\PageLayoutView::isContentEditable ( ?int  $languageId = null)
protected

Check if content can be edited by current user

Parameters
int | null$languageId
Returns
‪bool

Definition at line 4417 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader().

◆ isDisabled()

bool TYPO3\CMS\Backend\View\PageLayoutView::isDisabled (   $table,
  $row 
)

Returns TRUE, if the record given as parameters is NOT visible based on hidden/starttime/endtime (if available)

Parameters
string$table‪Tablename of table to test
array$row‪Record row.
Returns
‪bool Returns TRUE, if disabled.

Definition at line 2703 of file PageLayoutView.php.

References $GLOBALS, and TYPO3\CMS\Backend\View\PageLayoutView\$table.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\dataFields(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawItem().

◆ isDragAndDropAllowed()

bool TYPO3\CMS\Backend\View\PageLayoutView::isDragAndDropAllowed ( array  $row)
protected

Determine whether Drag & Drop should be allowed

Parameters
array$row
Returns
‪bool

Definition at line 2044 of file PageLayoutView.php.

References $GLOBALS, TYPO3\CMS\Core\Type\Bitmask\Permission\CONTENT_EDIT, and TYPO3\CMS\Backend\View\PageLayoutView\getBackendUser().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader().

◆ isPageEditable()

bool TYPO3\CMS\Backend\View\PageLayoutView::isPageEditable ( )
protected

Check if page can be edited by current user

Returns
‪bool

Definition at line 4403 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

◆ languageFlag()

string TYPO3\CMS\Backend\View\PageLayoutView::languageFlag (   $sys_language_uid,
  $addAsAdditionalText = true 
)

Return the icon for the language

Parameters
int$sys_language_uid‪Sys language uid
bool$addAsAdditionalText‪If set to true, only the flag is returned
Returns
‪string Language icon
Deprecated:
‪since TYPO3 v9.4, will be removed in TYPO3 v10.0. Use Site Languages instead.

Definition at line 4284 of file PageLayoutView.php.

◆ languageSelector()

string TYPO3\CMS\Backend\View\PageLayoutView::languageSelector (   $id)

Make selector box for creating new translation in a language Displays only languages which are not yet present for the current page and that are not disabled with page TS.

Parameters
int$id‪Page id for which to create a new translation record of pages
Returns
‪string <select> HTML element (if there were items for the box anyways...)
See also
getTable_tt_content()

Definition at line 2458 of file PageLayoutView.php.

References $GLOBALS, TYPO3\CMS\Backend\View\PageLayoutView\$id, $output, TYPO3\CMS\Backend\View\PageLayoutView\getBackendUser(), TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService(), and TYPO3\CMS\Backend\Utility\BackendUtility\getLinkToDataHandlerAction().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

◆ linkEditContent()

string TYPO3\CMS\Backend\View\PageLayoutView::linkEditContent (   $str,
  $row 
)

Will create a link on the input string and possibly a big button after the string which links to editing in the RTE. Used for content element content displayed so the user can click the content / "Edit in Rich Text Editor" button

Parameters
string$str‪String to link. Must be prepared for HTML output.
array$row‪The row.
Returns
‪string If the whole thing was editable ($this->doEdit) $str is return with link around. Otherwise just $str.
See also
getTable_tt_content()

Definition at line 2430 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\getBackendUser(), and TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService().

Referenced by TYPO3\CMS\Frontend\Hooks\PageLayoutView\TextmediaPreviewRenderer\preProcess(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawItem().

◆ linkUrlMail()

string TYPO3\CMS\Backend\View\PageLayoutView::linkUrlMail (   $code,
  $testString 
)

Wrapping input code in link to URL or email if $testString is either.

Parameters
string$code‪code to wrap
string$testString‪String which is tested for being a URL or email and which will be used for the link if so.
Returns
‪string Link-Wrapped $code value, if $testString was URL or email.

Definition at line 3658 of file PageLayoutView.php.

◆ linkWrapItems()

string TYPO3\CMS\Backend\View\PageLayoutView::linkWrapItems (   $table,
  $uid,
  $code,
  $row 
)

Returns the title (based on $code) of a record (from table $table) with the proper link around (that is for 'pages'-records a link to the level of that record...)

Parameters
string$table‪Table name
int$uid‪Item uid
string$code‪Item title (not htmlspecialchars()'ed yet)
mixed[]$row‪Item row
Returns
‪string The item title. Ready for HTML output (is htmlspecialchars()'ed)

Definition at line 3580 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$table, TYPO3\CMS\Core\Authentication\BackendUserAuthentication\calcPerms(), TYPO3\CMS\Core\Type\Bitmask\Permission\CONTENT_EDIT, TYPO3\CMS\Backend\Utility\BackendUtility\editOnClick(), TYPO3\CMS\Backend\View\PageLayoutView\getBackendUser(), TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecord(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordTitle(), TYPO3\CMS\Core\Type\Bitmask\Permission\PAGE_EDIT, and TYPO3\CMS\Backend\Utility\BackendUtility\viewOnClick().

◆ linkWrapTable()

string TYPO3\CMS\Backend\View\PageLayoutView::linkWrapTable (   $table,
  $code 
)

Returns the title (based on $code) of a table ($table) with the proper link around. For headers over tables. The link will cause the display of all extended mode or not for the table.

Parameters
string$table‪Table name
string$code‪Table label
Returns
‪string The linked table label

Definition at line 3559 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$table, and TYPO3\CMS\Backend\View\PageLayoutView\listURL().

◆ listURL()

string TYPO3\CMS\Backend\View\PageLayoutView::listURL (   $altId = '',
  $table = '-1',
  $exclList = '' 
)

Creates the URL to this script, including all relevant GPvars Fixed GPvars are id, table, imagemode, returnUrl, search_field, search_levels and showLimit The GPvars "sortField" and "sortRev" are also included UNLESS they are found in the $exclList variable.

Parameters
string$altId‪Alternative id value. Enter blank string for the current id ($this->id)
string$table‪Table name to display. Enter "-1" for the current table.
string$exclList‪Comma separated list of fields NOT to include ("sortField", "sortRev" or "firstElementNumber")
Returns
‪string URL

Definition at line 3683 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getSearchBox(), and TYPO3\CMS\Backend\View\PageLayoutView\linkWrapTable().

◆ localizationRedirect()

TYPO3\CMS\Backend\View\PageLayoutView::localizationRedirect (   $justLocalized)

Redirects to FormEngine if a record is just localized.

Parameters
string$justLocalized‪String with table, orig uid and language separated by ":

Definition at line 3808 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\start().

◆ logDeprecation()

TYPO3\CMS\Backend\View\PageLayoutView::logDeprecation ( string  $index)
protected

Method used to log deprecated usage of old buildQueryParametersPostProcess hook arguments

Parameters
string$index
Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0.

Definition at line 4005 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\prepareQueryBuilder().

◆ makeFieldList()

string [] TYPO3\CMS\Backend\View\PageLayoutView::makeFieldList (   $table,
  $dontCheckUser = false,
  $addDateFields = false 
)

Makes the list of fields to select for a table

Parameters
string$table‪Table name
bool$dontCheckUser‪If set, users access to the field (non-exclude-fields) is NOT checked.
bool$addDateFields‪If set, also adds crdate and tstamp fields (note: they will also be added if user is admin or dontCheckUser is set)
Returns
‪string[] Array, where values are fieldnames to include in query

Definition at line 3749 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\generateList(), and TYPO3\CMS\Backend\View\PageLayoutView\prepareQueryBuilder().

◆ makeOrdinaryList()

◆ makeSearchString()

string TYPO3\CMS\Backend\View\PageLayoutView::makeSearchString (   $table,
  $currentPid = -1 
)

Creates part of query for searching after a word ($this->searchString) fields in input table.

Parameters
string$table‪Table, in which the fields are being searched.
int$currentPid‪Page id for the possible search limit. -1 only if called from an old XCLASS.
Returns
‪string Returns part of WHERE-clause for searching, if applicable.

Definition at line 3433 of file PageLayoutView.php.

References $GLOBALS, TYPO3\CMS\Backend\View\PageLayoutView\$table, TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), TYPO3\CMS\Backend\View\PageLayoutView\getSearchFields(), and TYPO3\CMS\Core\Database\Query\QueryHelper\stripLogicalOperatorPrefix().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\prepareQueryBuilder().

◆ newContentElementOnClick()

string TYPO3\CMS\Backend\View\PageLayoutView::newContentElementOnClick (   $id,
  $colPos,
  $sys_language 
)

Creates onclick-attribute content for a new content element

Parameters
int$id‪Page id where to create the element.
int$colPos‪Preset: Column position value
int$sys_language‪Preset: Sys language value
Returns
‪string String for onclick attribute.
See also
getTable_tt_content()

Definition at line 2400 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$id, TYPO3\CMS\Backend\Utility\BackendUtility\editOnClick(), and TYPO3\CMS\Backend\Utility\BackendUtility\getPagesTSconfig().

◆ newLanguageButton()

string TYPO3\CMS\Backend\View\PageLayoutView::newLanguageButton (   $defaultLanguageUids,
  $lP 
)

Creates button which is used to create copies of records..

Parameters
array$defaultLanguageUids‪Numeric array with uids of tt_content elements in the default language
int$lP‪Sys language UID
Returns
‪string "Copy languages" button, if available.

Definition at line 2337 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService(), TYPO3\CMS\Backend\View\PageLayoutView\getLocalizedPageTitle(), TYPO3\CMS\Backend\Utility\BackendUtility\getPagesTSconfig(), and TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

◆ noEditIcon()

string TYPO3\CMS\Backend\View\PageLayoutView::noEditIcon (   $label = 'noEditItems')

Returns icon for "no-edit" of a record. Basically, the point is to signal that this record could have had an edit link if the circumstances were right. A placeholder for the regular edit icon...

Parameters
string$label‪Label key from LOCAL_LANG
Returns
‪string IMG tag for icon.

Definition at line 2719 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService(), and TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\makeOrdinaryList().

◆ numberOfRecords()

int TYPO3\CMS\Backend\View\PageLayoutView::numberOfRecords (   $table,
  $pid 
)

Counts and returns the number of records on the page with $pid

Parameters
string$table‪Table name
int$pid‪Page id
Returns
‪int Number of records.

Definition at line 2618 of file PageLayoutView.php.

References $GLOBALS, and TYPO3\CMS\Backend\View\PageLayoutView\$table.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\pages_drawItem().

◆ pages_drawItem()

◆ prepareQueryBuilder()

QueryBuilder TYPO3\CMS\Backend\View\PageLayoutView::prepareQueryBuilder ( string  $table,
int  $pageId,
array  $fieldList = ['*'],
array  $additionalConstraints = [],
QueryBuilder  $queryBuilder,
bool  $addSorting = true 
)
protected

Return the modified QueryBuilder object ($queryBuilder) which will be used to select the records from a table $table with pid = $this->pidList

Parameters
string$table‪Table name
int$pageId‪Page id Only used to build the search constraints, $this->pidList is used for restrictions
string[]$fieldList‪List of fields to select from the table
string[]$additionalConstraints‪Additional part for where clause
QueryBuilder$queryBuilder
bool$addSorting
Returns
‪QueryBuilder

Definition at line 3269 of file PageLayoutView.php.

References $GLOBALS, TYPO3\CMS\Backend\View\PageLayoutView\$table, TYPO3\CMS\Core\Database\Query\QueryBuilder\addOrderBy(), TYPO3\CMS\Backend\View\PageLayoutView\addPageIdConstraint(), TYPO3\CMS\Core\Database\Query\QueryBuilder\andWhere(), TYPO3\CMS\Core\Database\Query\Expression\ExpressionBuilder\eq(), TYPO3\CMS\Core\Database\Query\QueryBuilder\expr(), TYPO3\CMS\Core\Database\Query\QueryBuilder\groupBy(), TYPO3\CMS\Backend\View\PageLayoutView\logDeprecation(), TYPO3\CMS\Backend\View\PageLayoutView\makeFieldList(), TYPO3\CMS\Backend\View\PageLayoutView\makeSearchString(), TYPO3\CMS\Core\Database\Query\QueryBuilder\orderBy(), TYPO3\CMS\Core\Database\Query\QueryHelper\parseOrderBy(), TYPO3\CMS\Core\Database\Query\QueryBuilder\setFirstResult(), TYPO3\CMS\Core\Database\Query\QueryBuilder\setMaxResults(), and TYPO3\CMS\Core\Database\Query\QueryBuilder\where().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getQueryBuilder(), and TYPO3\CMS\Backend\View\PageLayoutView\setTotalItems().

◆ renderLanguageFlag()

string TYPO3\CMS\Backend\View\PageLayoutView::renderLanguageFlag ( SiteLanguage  $language)
protected

Renders the language flag and language title, but only if a icon is given, otherwise just the language

Parameters
SiteLanguage$language
Returns
‪string

Definition at line 4309 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader().

◆ renderText()

string TYPO3\CMS\Backend\View\PageLayoutView::renderText (   $input)

Processing of larger amounts of text (usually from RTE/bodytext fields) with word wrapping etc.

Parameters
string$input‪Input string
Returns
‪string Output string

Definition at line 2646 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Frontend\Hooks\PageLayoutView\TextmediaPreviewRenderer\preProcess(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawItem().

◆ requestUri()

string TYPO3\CMS\Backend\View\PageLayoutView::requestUri ( )

Returns "requestUri" - which is basically listURL

Returns
‪string Content of ->listURL()

Definition at line 3736 of file PageLayoutView.php.

◆ resolveSiteLanguages()

TYPO3\CMS\Backend\View\PageLayoutView::resolveSiteLanguages ( int  $pageId)
protected

Fetch the site language objects for the given $pageId and store it in $this->siteLanguages

Parameters
int$pageId
Exceptions
SiteNotFoundException

Definition at line 4328 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\start().

◆ setDispFields()

TYPO3\CMS\Backend\View\PageLayoutView::setDispFields ( )

Setting the field names to display in extended list. Sets the internal variable $this->setFields

Definition at line 3193 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\getBackendUser().

◆ setOverridePageIdList()

TYPO3\CMS\Backend\View\PageLayoutView::setOverridePageIdList ( array  $overridePageIdList)
Parameters
int[] | array$overridePageIdList

Definition at line 3913 of file PageLayoutView.php.

◆ setOverrideUrlParameters()

TYPO3\CMS\Backend\View\PageLayoutView::setOverrideUrlParameters ( array  $urlParameters)

Set URL parameters to override or add in the listUrl() method.

Parameters
string[]$urlParameters

Definition at line 3858 of file PageLayoutView.php.

◆ setTableDisplayOrder()

TYPO3\CMS\Backend\View\PageLayoutView::setTableDisplayOrder ( array  $orderInformation)

Set table display order information

Structure of $orderInformation: 'tableName' => [ 'before' => // comma-separated string list or array of table names 'after' => // comma-separated string list or array of table names ]

Parameters
array$orderInformation
Exceptions

Definition at line 3875 of file PageLayoutView.php.

◆ setTotalItems()

TYPO3\CMS\Backend\View\PageLayoutView::setTotalItems ( string  $table,
int  $pageId,
array  $constraints 
)

Executed a query to set $this->totalItems to the number of total items, eg. for pagination

Parameters
string$table‪Table name
int$pageId‪Only used to build the search constraints, $this->pidList is used for restrictions
array$constraints‪Additional constraints for where clause

Definition at line 3399 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$table, and TYPO3\CMS\Backend\View\PageLayoutView\prepareQueryBuilder().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\makeOrdinaryList().

◆ start()

TYPO3\CMS\Backend\View\PageLayoutView::start (   $id,
  $table,
  $pointer,
  $search = '',
  $levels = 0,
  $showLimit = 0 
)

Initializes the list generation

Parameters
int$id‪Page id for which the list is rendered. Must be >= 0
string$table‪Tablename - if extended mode where only one table is listed at a time.
int$pointer‪Browsing pointer.
string$searchSearch word, if any
int$levels‪Number of levels to search down the page tree
int$showLimit‪Limit of records to be listed.
Exceptions
SiteNotFoundException

Definition at line 2907 of file PageLayoutView.php.

References $GLOBALS, TYPO3\CMS\Backend\View\PageLayoutView\$id, TYPO3\CMS\Backend\View\PageLayoutView\$returnUrl, TYPO3\CMS\Backend\View\PageLayoutView\$showLimit, TYPO3\CMS\Backend\View\PageLayoutView\$table, TYPO3\CMS\Backend\View\PageLayoutView\$tablesCollapsed, TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange(), TYPO3\CMS\Backend\View\PageLayoutView\getBackendUser(), TYPO3\CMS\Backend\View\PageLayoutView\initializeLanguages(), TYPO3\CMS\Backend\View\PageLayoutView\localizationRedirect(), TYPO3\CMS\Core\Type\Bitmask\Permission\PAGE_SHOW, TYPO3\CMS\Core\Utility\HttpUtility\redirect(), and TYPO3\CMS\Backend\View\PageLayoutView\resolveSiteLanguages().

◆ thumbCode()

string TYPO3\CMS\Backend\View\PageLayoutView::thumbCode (   $row,
  $table,
  $field 
)

Create thumbnail code for record/field

Parameters
mixed[]$row‪Record array
string$table‪Table (record is from)
string$field‪Field name for which thumbnail are to be rendered.
Returns
‪string HTML for thumbnails, if any.

Definition at line 3217 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\$table, and TYPO3\CMS\Backend\Utility\BackendUtility\thumbCode().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\dataFields().

◆ tt_content_drawColHeader()

string TYPO3\CMS\Backend\View\PageLayoutView::tt_content_drawColHeader (   $colName,
  $editParams = '' 
)

Draw header for a content element column:

Parameters
string$colName‪Column name
string$editParams‪Edit params (Syntax: &edit[...] for FormEngine)
Returns
‪string HTML table

Definition at line 1781 of file PageLayoutView.php.

References $icons, TYPO3\CMS\Core\Type\Bitmask\Permission\CONTENT_EDIT, TYPO3\CMS\Backend\Utility\BackendUtility\editOnClick(), TYPO3\CMS\Backend\View\PageLayoutView\getBackendUser(), TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService(), and TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

◆ tt_content_drawFooter()

string TYPO3\CMS\Backend\View\PageLayoutView::tt_content_drawFooter ( array  $row)
protected

Draw the footer for a single tt_content element

Parameters
array$row‪Record array
Returns
‪string HTML of the footer
Exceptions

Definition at line 1838 of file PageLayoutView.php.

References $GLOBALS, and TYPO3\CMS\Backend\View\PageLayoutView\getProcessedValue().

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

◆ tt_content_drawHeader()

string TYPO3\CMS\Backend\View\PageLayoutView::tt_content_drawHeader (   $row,
  $space = 0,
  $disableMoveAndNewButtons = false,
  $langMode = false,
  $dragDropEnabled = false 
)

◆ tt_content_drawItem()

◆ tt_content_drawPasteIcon()

string TYPO3\CMS\Backend\View\PageLayoutView::tt_content_drawPasteIcon (   $pasteItem,
  $pasteTitle,
  $copyMode,
  $cssClass,
  $title 
)
protected

Draw a paste icon either for pasting into a column or for pasting after a record

Parameters
int$pasteItem‪ID of the item in the clipboard
string$pasteTitle‪Title for the JS modal
string$copyMode‪copy or cut
string$cssClass‪CSS class to determine if pasting is done into column or after record
string$title‪title attribute of the generated link
Returns
‪string Generated HTML code with link and icon

Definition at line 1817 of file PageLayoutView.php.

References TYPO3\CMS\Backend\View\PageLayoutView\getLanguageService(), and TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

◆ writeTop()

TYPO3\CMS\Backend\View\PageLayoutView::writeTop ( )

Dummy function, used to write the top of a table listing.

Definition at line 4122 of file PageLayoutView.php.

Member Data Documentation

◆ $activeTables

array TYPO3\CMS\Backend\View\PageLayoutView::$activeTables = array( )

Contains icon/title of pages which are listed in the tables menu (see getTableMenu() function )

Definition at line 150 of file PageLayoutView.php.

◆ $addElement_tdCssClass

array TYPO3\CMS\Backend\View\PageLayoutView::$addElement_tdCssClass = array( )

Keys are fieldnames and values are td-css-classes to add in addElement();

Definition at line 483 of file PageLayoutView.php.

◆ $addElement_tdParams

array TYPO3\CMS\Backend\View\PageLayoutView::$addElement_tdParams = array( )

Keys are fieldnames and values are td-parameters to add in addElement(), please use $addElement_tdCSSClass for CSS-classes;

Definition at line 469 of file PageLayoutView.php.

◆ $agePrefixes

string TYPO3\CMS\Backend\View\PageLayoutView::$agePrefixes = ' min| hrs| days| yrs| min| hour| day| year'

Age prefixes for displaying times. May be set externally to localized values.

Definition at line 104 of file PageLayoutView.php.

◆ $allFields

int TYPO3\CMS\Backend\View\PageLayoutView::$allFields = 0

Indicates if all available fields for a user should be selected or not.

Definition at line 176 of file PageLayoutView.php.

◆ $calcPerms

int TYPO3\CMS\Backend\View\PageLayoutView::$calcPerms = 0

Some permissions...

Definition at line 260 of file PageLayoutView.php.

◆ $clickTitleMode

string TYPO3\CMS\Backend\View\PageLayoutView::$clickTitleMode = ''

Mode for what happens when a user clicks the title of a record.

Definition at line 266 of file PageLayoutView.php.

◆ $clipboard

TYPO3 CMS Backend Clipboard Clipboard TYPO3\CMS\Backend\View\PageLayoutView::$clipboard
protected

Definition at line 487 of file PageLayoutView.php.

◆ $contentElementCache

array TYPO3\CMS\Backend\View\PageLayoutView::$contentElementCache = array( )
protected

Caches the amount of content elements as a matrix

Definition at line 512 of file PageLayoutView.php.

◆ $counter

int TYPO3\CMS\Backend\View\PageLayoutView::$counter = 0

Counter increased for each element. Used to index elements for the JavaScript-code that transfers to the clipboard

Definition at line 426 of file PageLayoutView.php.

◆ $csvOutput

bool TYPO3\CMS\Backend\View\PageLayoutView::$csvOutput = false

If set, csvList is outputted.

Definition at line 212 of file PageLayoutView.php.

◆ $CType_labels

array TYPO3\CMS\Backend\View\PageLayoutView::$CType_labels = array( )

Used to store labels for CTypes for tt_content elements

Definition at line 164 of file PageLayoutView.php.

◆ $currentTable

int [][] TYPO3\CMS\Backend\View\PageLayoutView::$currentTable = array( )

Used for tracking next/prev uids

Definition at line 396 of file PageLayoutView.php.

◆ $defLangBinding

bool TYPO3\CMS\Backend\View\PageLayoutView::$defLangBinding = false

If set TRUE, the language mode of tt_content elements will be rendered with hard binding between default language content elements and their translations!

Definition at line 123 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content().

◆ $descrTable

string TYPO3\CMS\Backend\View\PageLayoutView::$descrTable

"Pseudo" Description -table name

Definition at line 116 of file PageLayoutView.php.

◆ $displayFields

string [] TYPO3\CMS\Backend\View\PageLayoutView::$displayFields

Containing which fields to display in extended mode

Definition at line 200 of file PageLayoutView.php.

◆ $doEdit

bool TYPO3\CMS\Backend\View\PageLayoutView::$doEdit = true

If TRUE, elements will have edit icons (probably this is whether the user has permission to edit the page content). Set externally.

Definition at line 98 of file PageLayoutView.php.

◆ $duplicateField

string TYPO3\CMS\Backend\View\PageLayoutView::$duplicateField

String, can contain the field name from a table which must have duplicate values marked.

Definition at line 362 of file PageLayoutView.php.

◆ $duplicateStack

string [] TYPO3\CMS\Backend\View\PageLayoutView::$duplicateStack = array( )

Used for tracking duplicate values of fields

Definition at line 302 of file PageLayoutView.php.

◆ $eCounter

int TYPO3\CMS\Backend\View\PageLayoutView::$eCounter = 0

Counting the elements no matter what...

Definition at line 338 of file PageLayoutView.php.

◆ $ext_CALC_PERMS

int TYPO3\CMS\Backend\View\PageLayoutView::$ext_CALC_PERMS

User permissions

Definition at line 493 of file PageLayoutView.php.

◆ $ext_function

int TYPO3\CMS\Backend\View\PageLayoutView::$ext_function = 0

If set to "1", will link a big button to content element wizard.

Definition at line 92 of file PageLayoutView.php.

◆ $externalTables

array TYPO3\CMS\Backend\View\PageLayoutView::$externalTables = array( )

Array of tables to be listed by the Web > Page module in addition to the default tables.

Definition at line 110 of file PageLayoutView.php.

◆ $fieldArray

array TYPO3\CMS\Backend\View\PageLayoutView::$fieldArray = array( )

Decides the columns shown. Filled with values that refers to the keys of the data-array. $this->fieldArray[0] is the title column.

Definition at line 408 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getSearchFields().

◆ $firstElementNumber

int TYPO3\CMS\Backend\View\PageLayoutView::$firstElementNumber = 0

◆ $fixedL

int TYPO3\CMS\Backend\View\PageLayoutView::$fixedL = 30

Not used in this class - but maybe extension classes... Max length of strings

Definition at line 458 of file PageLayoutView.php.

◆ $hideTables

string TYPO3\CMS\Backend\View\PageLayoutView::$hideTables = ''

Tables which should not get listed

Definition at line 194 of file PageLayoutView.php.

◆ $hideTranslations

string TYPO3\CMS\Backend\View\PageLayoutView::$hideTranslations = ''

Tables which should not list their translations

Definition at line 206 of file PageLayoutView.php.

◆ $HTMLcode

string TYPO3\CMS\Backend\View\PageLayoutView::$HTMLcode = ''

HTML output

Definition at line 384 of file PageLayoutView.php.

◆ $iconFactory

IconFactory TYPO3\CMS\Backend\View\PageLayoutView::$iconFactory
protected

Definition at line 516 of file PageLayoutView.php.

◆ $id

◆ $iLimit

int TYPO3\CMS\Backend\View\PageLayoutView::$iLimit = 0

"LIMIT " in SQL...

Definition at line 278 of file PageLayoutView.php.

◆ $itemLabels

array TYPO3\CMS\Backend\View\PageLayoutView::$itemLabels = array( )

Used to store labels for the various fields in tt_content elements

Definition at line 170 of file PageLayoutView.php.

◆ $itemsLimitPerTable

int TYPO3\CMS\Backend\View\PageLayoutView::$itemsLimitPerTable = 20

default Max items shown per table in "multi-table mode", may be overridden by tables.php

Definition at line 230 of file PageLayoutView.php.

◆ $itemsLimitSingleTable

int TYPO3\CMS\Backend\View\PageLayoutView::$itemsLimitSingleTable = 100

default Max items shown per table in "single-table mode", may be overridden by tables.php

Definition at line 350 of file PageLayoutView.php.

◆ $JScode

string TYPO3\CMS\Backend\View\PageLayoutView::$JScode = ''

JavaScript code accumulation

Definition at line 326 of file PageLayoutView.php.

◆ $languageHasTranslationsCache

array TYPO3\CMS\Backend\View\PageLayoutView::$languageHasTranslationsCache = array( )
protected

Stores whether a certain language has translations in it

Definition at line 522 of file PageLayoutView.php.

◆ $languageIconTitles

array TYPO3\CMS\Backend\View\PageLayoutView::$languageIconTitles = array( )

Contains sys language icons and titles

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0. Use site languages instead.

Definition at line 433 of file PageLayoutView.php.

◆ $languagesInColumnCache

array TYPO3\CMS\Backend\View\PageLayoutView::$languagesInColumnCache = array( )
protected

Caches the available languages in a colPos

Definition at line 505 of file PageLayoutView.php.

◆ $leftMargin

int TYPO3\CMS\Backend\View\PageLayoutView::$leftMargin = 0

OBSOLETE - NOT USED ANYMORE. leftMargin

Definition at line 402 of file PageLayoutView.php.

◆ $listOnlyInSingleTableMode

bool TYPO3\CMS\Backend\View\PageLayoutView::$listOnlyInSingleTableMode = false

If TRUE, records are listed only if a specific table is selected.

Definition at line 320 of file PageLayoutView.php.

◆ $localizationController

LocalizationController TYPO3\CMS\Backend\View\PageLayoutView::$localizationController
protected

Definition at line 526 of file PageLayoutView.php.

◆ $modSharedTSconfig

array TYPO3\CMS\Backend\View\PageLayoutView::$modSharedTSconfig = array( )

Shared module configuration, used by localization features

Definition at line 188 of file PageLayoutView.php.

◆ $modTSconfig

array [] TYPO3\CMS\Backend\View\PageLayoutView::$modTSconfig

Module configuration

Definition at line 378 of file PageLayoutView.php.

◆ $nextThree

int TYPO3\CMS\Backend\View\PageLayoutView::$nextThree = 3

The number of successive records to edit when showing content elements.

Definition at line 74 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\generateTtContentDataArray().

◆ $no_noWrap

int TYPO3\CMS\Backend\View\PageLayoutView::$no_noWrap = 0

Definition at line 473 of file PageLayoutView.php.

◆ $oddColumnsCssClass

string TYPO3\CMS\Backend\View\PageLayoutView::$oddColumnsCssClass = ''

If set this is

CSS-classname for odd columns in addElement. Used with db_layout / pages section

Definition at line 451 of file PageLayoutView.php.

◆ $option_newWizard

bool TYPO3\CMS\Backend\View\PageLayoutView::$option_newWizard = true

If TRUE, new-wizards are linked to rather than the regular new-element list.

Definition at line 86 of file PageLayoutView.php.

◆ $overridePageIdList

array TYPO3\CMS\Backend\View\PageLayoutView::$overridePageIdList = array( )
protected

Override the page ids taken into account by getPageIdConstraint()

Definition at line 532 of file PageLayoutView.php.

◆ $overrideUrlParameters

string [] TYPO3\CMS\Backend\View\PageLayoutView::$overrideUrlParameters = array( )
protected

Override/add urlparameters in listUrl() method

Definition at line 538 of file PageLayoutView.php.

◆ $pageinfo

array TYPO3\CMS\Backend\View\PageLayoutView::$pageinfo
protected

Current ids page record

Definition at line 499 of file PageLayoutView.php.

◆ $pageOverlays

array TYPO3\CMS\Backend\View\PageLayoutView::$pageOverlays = array( )

Contains page translation languages

Definition at line 420 of file PageLayoutView.php.

◆ $pageRecord

string [] TYPO3\CMS\Backend\View\PageLayoutView::$pageRecord = array( )

Loaded with page record with version overlay if any.

Definition at line 296 of file PageLayoutView.php.

◆ $pages_noEditColumns

bool TYPO3\CMS\Backend\View\PageLayoutView::$pages_noEditColumns = false

If TRUE, disables the edit-column icon for tt_content elements

Definition at line 80 of file PageLayoutView.php.

◆ $perms_clause

string TYPO3\CMS\Backend\View\PageLayoutView::$perms_clause = ''

Page select permissions

Definition at line 236 of file PageLayoutView.php.

◆ $pI_showUser

bool TYPO3\CMS\Backend\View\PageLayoutView::$pI_showUser = false

If TRUE, users/groups are shown in the page info box.

Definition at line 68 of file PageLayoutView.php.

◆ $recPath_cache

mixed [] TYPO3\CMS\Backend\View\PageLayoutView::$recPath_cache = array( )

Cache for record path

Definition at line 218 of file PageLayoutView.php.

◆ $referenceCount

array TYPO3\CMS\Backend\View\PageLayoutView::$referenceCount = array( )
protected

Cache the number of references to a record

Definition at line 554 of file PageLayoutView.php.

◆ $returnUrl

string TYPO3\CMS\Backend\View\PageLayoutView::$returnUrl = ''

Return URL

Definition at line 248 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\start().

◆ $script

string TYPO3\CMS\Backend\View\PageLayoutView::$script = 'index.php'

Current script name

Definition at line 314 of file PageLayoutView.php.

◆ $searchLevels

int TYPO3\CMS\Backend\View\PageLayoutView::$searchLevels = ''

Levels to search down.

Definition at line 272 of file PageLayoutView.php.

◆ $searchString

string TYPO3\CMS\Backend\View\PageLayoutView::$searchString = ''

Search string

Definition at line 344 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getSearchFields().

◆ $setFields

string [] TYPO3\CMS\Backend\View\PageLayoutView::$setFields = array( )

Fields to display for the current table

Definition at line 308 of file PageLayoutView.php.

◆ $setLMargin

int TYPO3\CMS\Backend\View\PageLayoutView::$setLMargin = 1

Set to zero, if you don't want a left-margin with addElement function

Definition at line 414 of file PageLayoutView.php.

◆ $showIcon

int TYPO3\CMS\Backend\View\PageLayoutView::$showIcon = 1

Definition at line 477 of file PageLayoutView.php.

◆ $showLimit

int TYPO3\CMS\Backend\View\PageLayoutView::$showLimit = 0

Number of records to show

Definition at line 182 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\generateList(), and TYPO3\CMS\Backend\View\PageLayoutView\start().

◆ $siteLanguages

SiteLanguage [] TYPO3\CMS\Backend\View\PageLayoutView::$siteLanguages = array( )
protected

Contains site languages for this page ID

Definition at line 439 of file PageLayoutView.php.

◆ $sortField

string TYPO3\CMS\Backend\View\PageLayoutView::$sortField

Field, to sort list by

Definition at line 224 of file PageLayoutView.php.

◆ $sortRev

bool TYPO3\CMS\Backend\View\PageLayoutView::$sortRev

Field, indicating to sort in reverse order.

Definition at line 356 of file PageLayoutView.php.

◆ $table

◆ $tableDisplayOrder

array [] TYPO3\CMS\Backend\View\PageLayoutView::$tableDisplayOrder = array( )
protected

Array with before/after setting for tables Structure: 'tableName' => [ 'before' => ['A', ...] 'after' => [] ]

Definition at line 548 of file PageLayoutView.php.

◆ $tableList

string TYPO3\CMS\Backend\View\PageLayoutView::$tableList = ''

Specify a list of tables which are the only ones allowed to be displayed.

Definition at line 368 of file PageLayoutView.php.

◆ $tablesCollapsed

int [][] TYPO3\CMS\Backend\View\PageLayoutView::$tablesCollapsed = array( )

Array of collapsed / uncollapsed tables in multi table view

Definition at line 374 of file PageLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\start().

◆ $tableTSconfigOverTCA

mixed [][] TYPO3\CMS\Backend\View\PageLayoutView::$tableTSconfigOverTCA = array( )

TSconfig which overwrites TCA-Settings

Definition at line 290 of file PageLayoutView.php.

◆ $thisScript

string TYPO3\CMS\Backend\View\PageLayoutView::$thisScript = ''

Script URL

Definition at line 445 of file PageLayoutView.php.

◆ $thumbs

bool TYPO3\CMS\Backend\View\PageLayoutView::$thumbs = 0

Thumbnails on records containing files (pictures)

Definition at line 390 of file PageLayoutView.php.

◆ $totalItems

string TYPO3\CMS\Backend\View\PageLayoutView::$totalItems = ''

Set to the total number of items for a table when selecting.

Definition at line 284 of file PageLayoutView.php.

◆ $translateTools

TranslationConfigurationProvider TYPO3\CMS\Backend\View\PageLayoutView::$translateTools
Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0.

Definition at line 463 of file PageLayoutView.php.

◆ $tt_contentConfig

array TYPO3\CMS\Backend\View\PageLayoutView::$tt_contentConfig
Initial value:
= array(
'showInfo' => 1,
'showCommands' => 1,
'languageCols' => 0,
'languageMode' => 0,
'languageColsPointer' => 0,
'showHidden' => 1,
'sys_language_uid' => 0,
'cols' => '1,0,2,3',
'activeCols' => '1,0,2,3'
)

External, static: Configuration of tt_content element display:

Definition at line 129 of file PageLayoutView.php.

◆ $tt_contentData

array TYPO3\CMS\Backend\View\PageLayoutView::$tt_contentData
Initial value:
= array(
'nextThree' => [],
'prev' => [],
'next' => []
)

Definition at line 154 of file PageLayoutView.php.