‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Tree\View\ContentCreationPagePositionMap Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Tree\View\ContentCreationPagePositionMap:
TYPO3\CMS\Backend\Tree\View\AbstractContentPagePositionMap

Public Member Functions

 __construct (IconFactory $iconFactory, UriBuilder $uriBuilder, BackendLayoutView $backendLayoutView)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractContentPagePositionMap
 __construct (BackendLayoutView $backendLayoutView)
 
string printContentElementColumns (int $pid)
 

Public Attributes

array $defVals = []
 
bool $saveAndClose = false
 
string $R_URI = ''
 
- ‪Public Attributes inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractContentPagePositionMap
int $cur_sys_language = 0
 

Protected Member Functions

 insertPositionIcon (?array $row, int $colPos, int $pid)
 
 getRecordHeader (array $row)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractContentPagePositionMap
string printRecordMap (array $lines, array $tcaColumnsConfiguration, int $pid)
 
 getColumnsConfiguration (int $pageId)
 
 getBackendUser ()
 
 getLanguageService ()
 

Protected Attributes

IconFactory $iconFactory
 
UriBuilder $uriBuilder
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractContentPagePositionMap
BackendLayoutView $backendLayoutView
 

Detailed Description

Position map class for creating content elements

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

Definition at line 32 of file ContentCreationPagePositionMap.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ getRecordHeader()

TYPO3\CMS\Backend\Tree\View\ContentCreationPagePositionMap::getRecordHeader ( array  $row)
protected

{‪Create content element header (includes record type (CType) icon, content element title, etc.)

Parameters
array$row‪The element row
Returns
‪string HTML
}

Reimplemented from TYPO3\CMS\Backend\Tree\View\AbstractContentPagePositionMap.

Definition at line 103 of file ContentCreationPagePositionMap.php.

◆ insertPositionIcon()

TYPO3\CMS\Backend\Tree\View\ContentCreationPagePositionMap::insertPositionIcon ( ?array  $row,
int  $colPos,
int  $pid 
)
protected

{‪Creates a linked position icon

Parameters
array | null$row‪The record row. If this is an array the link will cause an insert after this content element, otherwise the link will insert at the first position in the column.
int$colPos‪Column position value.
int$pid‪PID value.
Returns
‪string HTML
}

Reimplemented from TYPO3\CMS\Backend\Tree\View\AbstractContentPagePositionMap.

Definition at line 62 of file ContentCreationPagePositionMap.php.

References TYPO3\CMS\Backend\Tree\View\ContentCreationPagePositionMap\$R_URI, TYPO3\CMS\Backend\Tree\View\AbstractContentPagePositionMap\getLanguageService(), and TYPO3\CMS\Core\Utility\StringUtility\getUniqueId().

Member Data Documentation

◆ $defVals

array TYPO3\CMS\Backend\Tree\View\ContentCreationPagePositionMap::$defVals = []

Default values defined for the item

Definition at line 37 of file ContentCreationPagePositionMap.php.

◆ $iconFactory

IconFactory TYPO3\CMS\Backend\Tree\View\ContentCreationPagePositionMap::$iconFactory
protected

◆ $R_URI

string TYPO3\CMS\Backend\Tree\View\ContentCreationPagePositionMap::$R_URI = ''

The return url, forwarded to FormEngine (or SimpleDataHandler)

Definition at line 47 of file ContentCreationPagePositionMap.php.

Referenced by TYPO3\CMS\Backend\Tree\View\ContentCreationPagePositionMap\insertPositionIcon().

◆ $saveAndClose

bool TYPO3\CMS\Backend\Tree\View\ContentCreationPagePositionMap::$saveAndClose = false

Whether the item should directly be persisted (avoiding FormEngine)

Definition at line 42 of file ContentCreationPagePositionMap.php.

◆ $uriBuilder

UriBuilder TYPO3\CMS\Backend\Tree\View\ContentCreationPagePositionMap::$uriBuilder
protected