TYPO3 CMS  TYPO3_6-2
AbstractTableConfigurationTreeDataProvider.php
Go to the documentation of this file.
1 <?php
3 
22 
26  protected $expandAll = FALSE;
27 
31  protected $levelMaximum = 2;
32 
36  protected $treeData = NULL;
37 
41  protected $treeId;
42 
46  protected $nonSelectableLevelList = '0';
47 
51  protected $expandedList = '';
52 
56  protected $selectedList = '';
57 
64  protected $itemWhiteList = array();
65 
69  protected $itemUnselectableList = array();
70 
77  public function setTreeId($treeId) {
78  $this->treeId = $treeId;
79  }
80 
86  public function getTreeId() {
87  return $this->treeId;
88  }
89 
96  public function setExpandAll($expandAll) {
97  $this->expandAll = $expandAll;
98  }
99 
105  public function getExpandAll() {
106  return $this->expandAll;
107  }
108 
115  public function setLevelMaximum($levelMaximum) {
116  $this->levelMaximum = $levelMaximum;
117  }
118 
124  public function getLevelMaximum() {
125  return $this->levelMaximum;
126  }
127 
134  protected function isExpanded(\TYPO3\CMS\Backend\Tree\TreeNode $node) {
135  return $this->getExpandAll() || \TYPO3\CMS\Core\Utility\GeneralUtility::inList($this->expandedList, $node->getId());
136  }
137 
144  public function setExpandedList($expandedList) {
145  $this->expandedList = $expandedList;
146  }
147 
153  public function getExpandedList() {
154  return $this->expandedList;
155  }
156 
162  public function initializeTreeData() {
163  $this->expandedList = $GLOBALS['BE_USER']->uc['tcaTrees'][$this->treeId];
164  }
165 
172  public function setSelectedList($selectedList) {
173  $this->selectedList = $selectedList;
174  }
175 
181  public function getSelectedList() {
182  return $this->selectedList;
183  }
184 
192  $this->nonSelectableLevelList = $nonSelectableLevelList;
193  }
194 
200  public function getNonSelectableLevelList() {
202  }
203 
210  public function setItemWhiteList(array $itemWhiteList) {
211  $this->itemWhiteList = $itemWhiteList;
212  }
213 
219  public function getItemWhiteList() {
220  return $this->itemWhiteList;
221  }
222 
230  $this->itemUnselectableList = $itemUnselectableList;
231  }
232 
238  public function getItemUnselectableList() {
240  }
241 
242 }
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]