‪TYPO3CMS  10.4
TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView:
TYPO3\CMS\Backend\Tree\View\BrowseTreeView TYPO3\CMS\Backend\Tree\View\AbstractTreeView TYPO3\CMS\Recordlist\Tree\View\ElementBrowserPageTreeView TYPO3\CMS\Recordlist\Tree\View\RecordBrowserPageTreeView

Public Member Functions

 __construct ()
 
 setLinkParameterProvider (LinkParameterProviderInterface $linkParameterProvider)
 
string wrapTitle ($title, $v, $ext_pArrPages=false)
 
string printTree ($treeArr='')
 
bool ext_isLinkable ($doktype, $uid)
 
string PM_ATagWrap ($icon, $cmd, $bMark='', $isOpen=false)
 
string wrapIcon ($icon, $row)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Tree\View\BrowseTreeView
 init ($clause='', $orderByFields='')
 
string getTitleAttrib ($row)
 
string getTitleStr ($row, $titleLen=30)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractTreeView
 addField ($field, $noCheck=false)
 
 reset ()
 
string getBrowsableTree ()
 
string PMicon ($row, $a, $c, $nextCount, $isOpen)
 
string addTagAttributes ($icon, $attr)
 
string wrapStop ($str, $row)
 
bool expandNext ($id)
 
 initializePositionSaving ()
 
 savePosition ()
 
string getRootIcon ($rec)
 
string getIcon ($row)
 
int getId ($row)
 
string getJumpToParam ($row)
 
int getTree ($uid, $depth=999, $depthData='')
 
int getCount ($uid)
 
array getRootRecord ()
 
array getRecord ($uid)
 
mixed getDataInit ($parentId)
 
int getDataCount (&$res)
 
array bool getDataNext (&$res)
 
 getDataFree (&$res)
 

Public Attributes

bool $ext_showPageId = false
 
bool $ext_pArrPages = true
 
- ‪Public Attributes inherited from ‪TYPO3\CMS\Backend\Tree\View\BrowseTreeView
array $fieldArray
 
string $treeName = 'browsePages'
 
string $table = 'pages'
 
string $domIdPrefix = 'pages'
 
bool $ext_showNavTitle = false
 
- ‪Public Attributes inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractTreeView
bool $expandFirst = false
 
bool $expandAll = false
 
string $thisScript = ''
 
string $titleAttrib = 'title'
 
bool $ext_IconMode = false
 
bool $ext_showPathAboveMounts = false
 
int $addSelfId = 0
 
string $title = 'no title'
 
bool $showDefaultTitleAttribute = false
 
TYPO3 CMS Core Authentication BackendUserAuthentication string $BE_USER = ''
 
array null $MOUNTS
 
string $table = ''
 
string $parentField = 'pid'
 
string $clause = ''
 
string $orderByFields = ''
 
array $fieldArray = array( 'uid', 'pid', 'title', 'is_siteroot' )
 
string $defaultList = 'uid,pid,tstamp,sorting,deleted,perms_userid,perms_groupid,perms_user,perms_group,perms_everybody,crdate,cruser_id'
 
string $treeName = ''
 
string $domIdPrefix = 'row'
 
int $makeHTML = 1
 
int $setRecs = 0
 
array $ids = array( )
 
array $ids_hierarchy = array( )
 
array $orig_ids_hierarchy = array( )
 
array $buffer_idH = array( )
 
array $specUIDmap = array( )
 
array $tree = array( )
 
array $stored = array( )
 
int $bank = 0
 
array $recs = array( )
 

Protected Attributes

LinkParameterProviderInterface $linkParameterProvider
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractTreeView
 determineScriptUrl ()
 
string getThisScript ()
 
string getMountPointPath (int $uid)
 
LanguageService getLanguageService ()
 
BackendUserAuthentication getBackendUser ()
 

Detailed Description

Class which generates the selectable page tree

Browsable tree, used in PagePositionMaps (move elements), the Link Wizard and the Database Browser (for which it will be extended)

Definition at line 29 of file ElementBrowserPageTreeView.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView::__construct ( )

Member Function Documentation

◆ ext_isLinkable()

bool TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView::ext_isLinkable (   $doktype,
  $uid 
)

◆ PM_ATagWrap()

string TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView::PM_ATagWrap (   $icon,
  $cmd,
  $bMark = '',
  $isOpen = false 
)

Wrap the plus/minus icon in a link

Parameters
string$icon‪HTML string to wrap, probably an image tag.
string$cmdCommand for 'PM' get var
string$bMark‪If set, the link will have an anchor point (=$bMark) and a name attribute (=$bMark)
bool$isOpen
Returns
‪string Link-wrapped input string

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

Definition at line 176 of file ElementBrowserPageTreeView.php.

References TYPO3\CMS\Core\Utility\HttpUtility\buildQueryString(), and TYPO3\CMS\Backend\Tree\View\AbstractTreeView\getThisScript().

◆ printTree()

◆ setLinkParameterProvider()

TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView::setLinkParameterProvider ( LinkParameterProviderInterface  $linkParameterProvider)

◆ wrapIcon()

string TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView::wrapIcon (   $icon,
  $row 
)

Wrapping the image tag, $icon, for the row, $row

Parameters
string$icon‪The image tag for the icon
array$row‪The row for the current element
Returns
‪string The processed icon input value.

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

Definition at line 193 of file ElementBrowserPageTreeView.php.

◆ wrapTitle()

string TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView::wrapTitle (   $title,
  $v,
  $ext_pArrPages = false 
)

Wrapping the title in a link, if applicable.

Parameters
string$title‪Title, (must be ready for output, that means it must be htmlspecialchars()'ed).
array$v‪The record
bool$ext_pArrPages‪(ignored)
Returns
‪string Wrapping title string.

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

Reimplemented in TYPO3\CMS\Recordlist\Tree\View\ElementBrowserPageTreeView, and TYPO3\CMS\Recordlist\Tree\View\RecordBrowserPageTreeView.

Definition at line 73 of file ElementBrowserPageTreeView.php.

References TYPO3\CMS\Backend\Tree\View\AbstractTreeView\$title, TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView\ext_isLinkable(), and TYPO3\CMS\Core\LinkHandling\LinkService\TYPE_PAGE.

Referenced by TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView\printTree().

Member Data Documentation

◆ $ext_pArrPages

◆ $ext_showPageId

bool TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView::$ext_showPageId = false

whether the page ID should be shown next to the title, activate through userTSconfig (options.pageTree.showPageIdWithTitle)

Definition at line 36 of file ElementBrowserPageTreeView.php.

◆ $linkParameterProvider

LinkParameterProviderInterface TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView::$linkParameterProvider
protected