TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Impexp\LocalPageTree Class Reference
Inheritance diagram for TYPO3\CMS\Impexp\LocalPageTree:
TYPO3\CMS\Backend\Tree\View\BrowseTreeView TYPO3\CMS\Backend\Tree\View\AbstractTreeView tx_impexp_localPageTree

Public Member Functions

 __construct ()
 
 wrapTitle ($title, $v)
 
 PM_ATagWrap ($icon, $cmd, $bMark='')
 
 wrapIcon ($icon, $row)
 
 permsC ()
 
 ext_tree ($pid, $clause='')
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Tree\View\BrowseTreeView
 init ($clause='', $orderByFields='')
 
 getTitleAttrib ($row)
 
 wrapIcon ($icon, $row)
 
 getTitleStr ($row, $titleLen=30)
 
 wrapStop ($str, $row)
 
- 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\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! Extension of the page tree class. Used to get the tree of pages to export.

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 22 of file LocalPageTree.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Impexp\LocalPageTree::__construct ( )

Initialization

Definition at line 27 of file LocalPageTree.php.

References TYPO3\CMS\Backend\Tree\View\BrowseTreeView\init().

Member Function Documentation

◆ ext_tree()

◆ permsC()

TYPO3\CMS\Impexp\LocalPageTree::permsC ( )

Select permissions

Returns
string SQL where clause
Todo:
Define visibility

Definition at line 75 of file LocalPageTree.php.

Referenced by TYPO3\CMS\Impexp\LocalPageTree\ext_tree().

◆ PM_ATagWrap()

TYPO3\CMS\Impexp\LocalPageTree::PM_ATagWrap (   $icon,
  $cmd,
  $bMark = '' 
)

Wrapping Plus/Minus icon

Parameters
string$iconIcon HTML
mixed$cmd(See parent class)
mixed$bMark(See parent class)
Returns
string Icon HTML
Todo:
Define visibility

Definition at line 53 of file LocalPageTree.php.

Referenced by TYPO3\CMS\Impexp\LocalPageTree\ext_tree().

◆ wrapIcon()

TYPO3\CMS\Impexp\LocalPageTree::wrapIcon (   $icon,
  $row 
)

Wrapping Icon

Parameters
string$iconIcon HTML
array$rowRecord row (page)
Returns
string Icon HTML
Todo:
Define visibility

Definition at line 65 of file LocalPageTree.php.

Referenced by TYPO3\CMS\Impexp\LocalPageTree\ext_tree().

◆ wrapTitle()

TYPO3\CMS\Impexp\LocalPageTree::wrapTitle (   $title,
  $v 
)

Wrapping title from page tree.

Parameters
string$titleTitle to wrap
mixed$v(See parent class)
Returns
string Wrapped title
Todo:
Define visibility

Definition at line 39 of file LocalPageTree.php.

References $GLOBALS, and TYPO3\CMS\Backend\Tree\View\AbstractTreeView\$title.