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

Public Member Functions

 __construct ()
 
 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 PMicon ($row, $a, $c, $nextCount, $isOpen)
 
string PM_ATagWrap ($bMark='', $isOpen=false)
 
string addTagAttributes ($icon, $attr)
 
bool expandNext ($id)
 
string getRootIcon ($rec)
 
string getIcon (array $row)
 
int getTree ($uid, $depth=999, $depthData='')
 
int getCount ($uid)
 
array getRootRecord ()
 
mixed getDataInit ($parentId)
 
int getDataCount (&$res)
 
array bool getDataNext (&$res)
 
 getDataFree (&$res)
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractTreeView
string $thisScript = ''
 
string $title = 'no title'
 
TYPO3 CMS Core Authentication BackendUserAuthentication string $BE_USER = ''
 
string $table = 'pages'
 
string $parentField = 'pid'
 
string $clause = ''
 
string $orderByFields = ''
 
array $fieldArray
 
string $defaultList = 'uid,pid,tstamp,sorting,deleted,perms_userid,perms_groupid,perms_user,perms_group,perms_everybody,crdate'
 
int $makeHTML = 1
 
array $ids = array( )
 
array $ids_hierarchy = array( )
 
array $orig_ids_hierarchy = array( )
 
array $buffer_idH = array( )
 
array $tree = array( )
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractTreeView
 determineScriptUrl ()
 
string getThisScript ()
 
 getLanguageService ()
 
 getBackendUser ()
 

Detailed Description

Generate a page-tree, browsable.

Deprecated:
‪not needed anymore, will be removed in TYPO3 v13.0

Definition at line 28 of file BrowseTreeView.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Reimplemented in TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView.

Definition at line 30 of file BrowseTreeView.php.

Member Function Documentation

◆ getTitleAttrib()

string TYPO3\CMS\Backend\Tree\View\BrowseTreeView::getTitleAttrib (   $row)

Creates title attribute content for pages. Uses API function in \TYPO3\CMS\Backend\Utility\BackendUtility which will retrieve lots of useful information for pages.

Parameters
array$row‪The table row.
Returns
‪string

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

Definition at line 65 of file BrowseTreeView.php.

◆ getTitleStr()

string TYPO3\CMS\Backend\Tree\View\BrowseTreeView::getTitleStr (   $row,
  $titleLen = 30 
)

Returns the title for the input record. If blank, a "no title" label (localized) will be returned. Do NOT htmlspecialchar the string from this function - has already been done.

Parameters
array$row‪The input row array (where the key "title" is used for the title)
int$titleLen‪Title length (30)
Returns
‪string The title.

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

Definition at line 78 of file BrowseTreeView.php.

References TYPO3\CMS\Backend\Tree\View\AbstractTreeView\$title, and TYPO3\CMS\Backend\Tree\View\AbstractTreeView\getBackendUser().

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

◆ init()

TYPO3\CMS\Backend\Tree\View\BrowseTreeView::init (   $clause = '',
  $orderByFields = '' 
)

Initialize, setting what is necessary for browsing pages. Using the current user.

Parameters
string$clause‪Additional clause for selecting pages.
string$orderByFields‪record ORDER BY field

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

Definition at line 43 of file BrowseTreeView.php.

References TYPO3\CMS\Backend\Tree\View\AbstractTreeView\$clause, TYPO3\CMS\Backend\Tree\View\AbstractTreeView\getBackendUser(), TYPO3\CMS\Core\Utility\GeneralUtility\intExplode(), and TYPO3\CMS\Core\Type\Bitmask\Permission\PAGE_SHOW.

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