‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Tree\View\PageMovingPagePositionMap Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Tree\View\PageMovingPagePositionMap:
TYPO3\CMS\Backend\Tree\View\PagePositionMap

Public Member Functions

string getActionLink ($pid, $newPagePID)
 
string linkPageTitle ($str, $rec, ServerRequestInterface $request)
 
string boldTitle ($t_code, $dat, $id)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Tree\View\PagePositionMap
 __construct (string $pageTreeClassName=null)
 
string positionTree ($id, $pageinfo, $perms_clause, $R_URI, ServerRequestInterface $request)
 
bool checkNewPageInPid ($pid)
 

Protected Member Functions

string insertlabel ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Tree\View\PagePositionMap
 getBackendUser ()
 
 getLanguageService ()
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Backend\Tree\View\PagePositionMap
string $moveOrCopy = 'move'
 
int $dontPrintPageInsertIcons = 0
 
int $depth = 2
 
string $R_URI = ''
 
int $moveUid
 
array $checkNewPageCache = array( )
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Tree\View\PagePositionMap
string $pageTreeClassName = PageTreeView::class
 
IconFactory $iconFactory
 

Detailed Description

Position map class for moving pages.

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

Definition at line 29 of file PageMovingPagePositionMap.php.

Member Function Documentation

◆ boldTitle()

string TYPO3\CMS\Backend\Tree\View\PageMovingPagePositionMap::boldTitle (   $t_code,
  $dat,
  $id 
)

Wrap $t_code in bold IF the $dat uid matches $id

Parameters
string$t_code‪Title string
array$dat‪Information array with record array inside.
int$id‪The current id.
Returns
‪string The title string.

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

Definition at line 79 of file PageMovingPagePositionMap.php.

◆ getActionLink()

string TYPO3\CMS\Backend\Tree\View\PageMovingPagePositionMap::getActionLink (   $pid,
  $newPagePID 
)

Creates the link target for the insert-icons.

Parameters
int$pid‪The pid.
int$newPagePID‪New page id.
Returns
‪string Onclick attribute content

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

Definition at line 38 of file PageMovingPagePositionMap.php.

◆ insertlabel()

string TYPO3\CMS\Backend\Tree\View\PageMovingPagePositionMap::insertlabel ( )
protected

Get label, htmlspecialchars()'ed

Returns
‪string The localized label for "move page here"

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

Definition at line 89 of file PageMovingPagePositionMap.php.

References TYPO3\CMS\Backend\Tree\View\PagePositionMap\getLanguageService().

◆ linkPageTitle()

string TYPO3\CMS\Backend\Tree\View\PageMovingPagePositionMap::linkPageTitle (   $str,
  $rec,
ServerRequestInterface  $request 
)

Wrapping page title.

Parameters
string$str‪Page title.
array$rec‪Page record (?)
Returns
‪string Wrapped title.

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

Definition at line 54 of file PageMovingPagePositionMap.php.

References TYPO3\CMS\Webhooks\Message\$url.