TYPO3 CMS  TYPO3_6-2
PageTreeView.php
Go to the documentation of this file.
1 <?php
3 
23 
27  public $fieldArray = array(
28  'uid',
29  'title',
30  'doktype',
31  'mount_pid',
32  'php_tree_stop',
33  't3ver_id',
34  't3ver_state'
35  );
36 
40  public $defaultList = 'uid,pid,tstamp,sorting,deleted,perms_userid,perms_groupid,perms_user,perms_group,perms_everybody,crdate,cruser_id';
41 
45  public $setRecs = 0;
46 
56  public function init($clause = '', $orderByFields = '') {
57  parent::init(' AND deleted=0 ' . $clause, 'sorting');
58  $this->fieldArray = array_merge($this->fieldArray, array(
59  'hidden',
60  'starttime',
61  'endtime',
62  'fe_group',
63  'module',
64  'extendToSubpages',
65  'nav_hide'
66  ));
67  $this->table = 'pages';
68  $this->treeName = 'pages';
69  }
70 
78  public function expandNext($id) {
79  return 1;
80  }
81 
96  public function PMicon($row, $a, $c, $nextCount, $exp) {
97  $PM = 'join';
98  $BTM = $a == $c ? 'bottom' : '';
99  $icon = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('treeline-' . $PM . $BTM);
100  return $icon;
101  }
102 
111  public function initializePositionSaving() {
112  $this->stored = array();
113  }
114 
115 }
PMicon($row, $a, $c, $nextCount, $exp)
init($clause='', $orderByFields='')
static getSpriteIcon($iconName, array $options=array(), array $overlays=array())