‪TYPO3CMS  10.4
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 TYPO3\CMS\Backend\View\PageTreeView TYPO3\CMS\Impexp\View\ExportPageTreeView TYPO3\CMS\Recordlist\Tree\View\ElementBrowserPageTreeView TYPO3\CMS\Recordlist\Tree\View\RecordBrowserPageTreeView

Public Member Functions

 init ($clause='', $orderByFields='')
 
string getTitleAttrib ($row)
 
string wrapIcon ($icon, $row)
 
string getTitleStr ($row, $titleLen=30)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractTreeView
 __construct ()
 
 addField ($field, $noCheck=false)
 
 reset ()
 
string getBrowsableTree ()
 
string printTree ($treeArr='')
 
string PMicon ($row, $a, $c, $nextCount, $isOpen)
 
string PM_ATagWrap ($icon, $cmd, $bMark='', $isOpen=false)
 
string wrapTitle ($title, $row, $bank=0)
 
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

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( )
 

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

Generate a page-tree, browsable.

Definition at line 27 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 107 of file BrowseTreeView.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\titleAttribForPages().

◆ 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 142 of file BrowseTreeView.php.

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

Referenced by TYPO3\CMS\Recordlist\Tree\View\RecordBrowserPageTreeView\printTree(), TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView\printTree(), and TYPO3\CMS\Backend\View\PageTreeView\printTree().

◆ init()

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

◆ wrapIcon()

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

Wrapping the image tag, $icon, for the row, $row (except for mount points)

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\AbstractTreeView.

Reimplemented in TYPO3\CMS\Backend\View\PageTreeView, TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView, and TYPO3\CMS\Impexp\View\ExportPageTreeView.

Definition at line 120 of file BrowseTreeView.php.

References TYPO3\CMS\Backend\Tree\View\AbstractTreeView\getId(), TYPO3\CMS\Backend\Tree\View\AbstractTreeView\getJumpToParam(), and TYPO3\CMS\Backend\Utility\BackendUtility\wrapClickMenuOnIcon().

Member Data Documentation

◆ $domIdPrefix

string TYPO3\CMS\Backend\Tree\View\BrowseTreeView::$domIdPrefix = 'pages'

override to use this domIdPrefix

Definition at line 65 of file BrowseTreeView.php.

◆ $ext_showNavTitle

bool TYPO3\CMS\Backend\Tree\View\BrowseTreeView::$ext_showNavTitle = false

Definition at line 69 of file BrowseTreeView.php.

◆ $fieldArray

array TYPO3\CMS\Backend\Tree\View\BrowseTreeView::$fieldArray
Initial value:
= array(
'uid',
'pid',
'title',
'doktype',
'nav_title',
'mount_pid',
'php_tree_stop',
't3ver_state',
'hidden',
'starttime',
'endtime',
'fe_group',
'module',
'extendToSubpages',
'nav_hide',
't3ver_wsid',
't3ver_move_id',
'is_siteroot'
)

Definition at line 31 of file BrowseTreeView.php.

◆ $table

string TYPO3\CMS\Backend\Tree\View\BrowseTreeView::$table = 'pages'

override to use this table

Definition at line 60 of file BrowseTreeView.php.

◆ $treeName

string TYPO3\CMS\Backend\Tree\View\BrowseTreeView::$treeName = 'browsePages'

override to use this treeName

Definition at line 55 of file BrowseTreeView.php.