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