60 $categoryMountPoints = $this->backendUserAuthentication->getCategoryMountPoints();
63 $treeNodeCollection = $treeData->getChildNodes();
65 if (!empty($categoryMountPoints) && !empty($treeNodeCollection)) {
69 $treeData->removeChildNodes();
75 foreach ($categoryMountPoints as $categoryMountPoint) {
77 $treeNode = $this->lookUpCategoryMountPointInTreeNodes((
int)$categoryMountPoint, $treeNodeCollection);
78 if (!is_null($treeNode)) {
79 $securedTreeNodeCollection->append($treeNode);
84 $treeData->setChildNodes($securedTreeNodeCollection);
96 protected function lookUpCategoryMountPointInTreeNodes($categoryMountPoint,
TreeNodeCollection $treeNodeCollection) {
101 foreach ($treeNodeCollection as $treeNode) {
104 if ((
int)$treeNode->getId() === $categoryMountPoint) {
109 if ($treeNode->hasChildNodes()) {
112 $node = $this->lookUpCategoryMountPointInTreeNodes($categoryMountPoint, $treeNode->getChildNodes());
113 if (! is_null($node)) {
$backendUserAuthentication
static makeInstance($className)
if($list_of_literals) if(!empty($literals)) if(!empty($literals)) $result
Analyse literals to prepend the N char to them if their contents aren't numeric.
__construct($backendUserAuthentication=NULL)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]