‪TYPO3CMS  9.5
ContentMovingPagePositionMap.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
23 {
28 
34  protected ‪$pageTreeClassName = PageTreeView::class;
35 
43  public function ‪linkPageTitle($str, $rec)
44  {
45  $url = \TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(['uid' => (int)$rec['uid'], 'moveUid' => $this->moveUid]);
46  return '<a href="' . htmlspecialchars($url) . '">' . $str . '</a>';
47  }
48 
56  public function ‪wrapRecordTitle($str, $row)
57  {
58  if ($this->moveUid == $row['uid']) {
59  $str = '<strong>' . $str . '</strong>';
60  }
61  return parent::wrapRecordTitle($str, $row);
62  }
63 }
‪TYPO3\CMS\Backend\Tree\View\ContentMovingPagePositionMap\linkPageTitle
‪string linkPageTitle($str, $rec)
Definition: ContentMovingPagePositionMap.php:41
‪TYPO3\CMS\Backend\Tree\View\ContentMovingPagePositionMap
Definition: ContentMovingPagePositionMap.php:23
‪TYPO3\CMS\Backend\Tree\View\PagePositionMap
Definition: PagePositionMap.php:37
‪TYPO3\CMS\Backend\Tree\View\ContentMovingPagePositionMap\$dontPrintPageInsertIcons
‪int $dontPrintPageInsertIcons
Definition: ContentMovingPagePositionMap.php:26
‪TYPO3\CMS\Backend\Tree\View
Definition: AbstractTreeView.php:2
‪TYPO3\CMS\Backend\Tree\View\ContentMovingPagePositionMap\$pageTreeClassName
‪string $pageTreeClassName
Definition: ContentMovingPagePositionMap.php:32
‪TYPO3\CMS\Backend\Tree\View\ContentMovingPagePositionMap\wrapRecordTitle
‪string wrapRecordTitle($str, $row)
Definition: ContentMovingPagePositionMap.php:54