TYPO3 CMS  TYPO3_6-2
newRecordLocalPageTree Class Reference
Inheritance diagram for newRecordLocalPageTree:
TYPO3\CMS\Backend\Tree\View\PageTreeView TYPO3\CMS\Backend\Tree\View\AbstractTreeView

Public Member Functions

 expandNext ($id)
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Tree\View\PageTreeView
 init ($clause='', $orderByFields='')
 
 expandNext ($id)
 
 PMicon ($row, $a, $c, $nextCount, $exp)
 
 initializePositionSaving ()
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Tree\View\AbstractTreeView
 init ($clause='', $orderByFields='')
 
 setTreeName ($treeName='')
 
 addField ($field, $noCheck=0)
 
 reset ()
 
 getBrowsableTree ()
 
 printTree ($treeArr='')
 
 PMicon ($row, $a, $c, $nextCount, $exp)
 
 PM_ATagWrap ($icon, $cmd, $bMark='')
 
 wrapTitle ($title, $row, $bank=0)
 
 wrapIcon ($icon, $row)
 
 addTagAttributes ($icon, $attr)
 
 wrapStop ($str, $row)
 
 expandNext ($id)
 
 initializePositionSaving ()
 
 savePosition ()
 
 getRootIcon ($rec)
 
 getIcon ($row)
 
 getTitleStr ($row, $titleLen=30)
 
 getTitleAttrib ($row)
 
 getId ($row)
 
 getJumpToParam ($row)
 
 getTree ($uid, $depth=999, $depthData='', $blankLineCode='', $subCSSclass='')
 
 getCount ($uid)
 
 getRootRecord ($uid)
 
 getRecord ($uid)
 
 getDataInit ($parentId, $subCSSclass='')
 
 getDataCount (&$res)
 
 getDataNext (&$res, $subCSSclass='')
 
 getDataFree (&$res)
 
 setDataFromArray (&$dataArr, $traverse=FALSE, $pid=0)
 
 setDataFromTreeArray (&$treeArr, &$treeLookupArr)
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Backend\Tree\View\PageTreeView
 $fieldArray
 
 $defaultList = 'uid,pid,tstamp,sorting,deleted,perms_userid,perms_groupid,perms_user,perms_group,perms_everybody,crdate,cruser_id'
 
 $setRecs = 0
 
- Public Attributes inherited from TYPO3\CMS\Backend\Tree\View\AbstractTreeView
 $expandFirst = 0
 
 $expandAll = 0
 
 $thisScript = ''
 
 $titleAttrib = 'title'
 
 $ext_IconMode = FALSE
 
 $addSelfId = 0
 
 $title = 'no title'
 
 $showDefaultTitleAttribute = FALSE
 
 $highlightPagesWithVersions = TRUE
 
 $BE_USER = ''
 
 $MOUNTS = ''
 
 $table = ''
 
 $parentField = 'pid'
 
 $clause = ''
 
 $orderByFields = ''
 
 $fieldArray = array('uid', 'pid', 'title')
 
 $defaultList = 'uid,pid,tstamp,sorting,deleted,perms_userid,perms_groupid,perms_user,perms_group,perms_everybody,crdate,cruser_id'
 
 $treeName = ''
 
 $domIdPrefix = 'row'
 
 $backPath
 
 $iconPath = ''
 
 $iconName = 'default.gif'
 
 $makeHTML = 1
 
 $setRecs = 0
 
 $subLevelID = '_SUB_LEVEL'
 
 $ids = array()
 
 $ids_hierarchy = array()
 
 $orig_ids_hierarchy = array()
 
 $buffer_idH = array()
 
 $specUIDmap = array()
 
 $data = FALSE
 
 $dataLookup = FALSE
 
 $tree = array()
 
 $stored = array()
 
 $bank = 0
 
 $recs = array()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Tree\View\AbstractTreeView
 determineScriptUrl ()
 
 getThisScript ()
 
 hasPageRecordVersions ($workspaceId, $pageId)
 
 getWorkspaceService ()
 
- Protected Attributes inherited from TYPO3\CMS\Backend\Tree\View\AbstractTreeView
 $workspaceService = NULL
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! New database item menu

This script lets users choose a new database element to create. Includes a wizard mode for visually pointing out the position of new pages

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om Extension for the tree class that generates the tree of pages in the page-wizard mode
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 30 of file db_new.php.

Member Function Documentation

◆ expandNext()

newRecordLocalPageTree::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
integer$idThe ID (page id) of the element
Returns
boolean Returns TRUE if the IDs matches
Todo:
Define visibility

Definition at line 40 of file db_new.php.

References $GLOBALS.