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

Public Member Functions

 __construct (int $currentPageId)
 
bool expandNext ($id)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Tree\View\PageTreeView
 init ($clause='', $orderByFields='')
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractTreeView
 __construct ()
 
 addField ($field, $noCheck=false)
 
 reset ()
 
int getTree ($uid, $depth=999, $depthData='')
 

Protected Attributes

int $currentPageId
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractTreeView
string $table = 'pages'
 
string $parentField = 'pid'
 
string $clause = ''
 
array $fieldArray
 
string $defaultList = 'uid,pid,tstamp,sorting,deleted,perms_userid,perms_groupid,perms_user,perms_group,perms_everybody,crdate'
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractTreeView
string $orderByFields = ''
 
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\PageTreeView
string PMicon ($row, $a, $c, $nextCount, $isExpand)
 
string getTitleStr ($row, $titleLen=30)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Tree\View\AbstractTreeView
string PM_ATagWrap ($bMark='', $isOpen=false)
 
string getIcon (array $row)
 
string getTitleAttrib ($row)
 
int getCount ($uid)
 
mixed getDataInit ($parentId)
 
array bool getDataNext (&$res)
 
 getLanguageService ()
 
 getBackendUser ()
 

Detailed Description

Extension for the tree class that generates the tree of pages in the page-wizard mode

See also
‪\TYPO3\CMS\Backend\Controller\NewRecordController

This class is a TYPO3 Backend implementation and is not considered part of the Public TYPO3 API.

Definition at line 26 of file NewRecordPageTreeView.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Tree\View\NewRecordPageTreeView::__construct ( int  $currentPageId)

Member Function Documentation

◆ expandNext()

bool TYPO3\CMS\Backend\Tree\View\NewRecordPageTreeView::expandNext (   $id)

Determines whether to expand a branch or not. Here the branch is expanded if the current id matches the global id for the listing/new

Parameters
int$id‪The ID (page id) of the element
Returns
‪bool Returns TRUE if the IDs matches

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

Definition at line 43 of file NewRecordPageTreeView.php.

References TYPO3\CMS\Backend\Tree\View\NewRecordPageTreeView\$currentPageId.

Member Data Documentation

◆ $currentPageId

int TYPO3\CMS\Backend\Tree\View\NewRecordPageTreeView::$currentPageId
protected