151 $this->readableRootline = $rootline;
169 if (!isset($this->cachedAccessRights[
'create'])) {
170 $this->cachedAccessRights[
'create'] =
$GLOBALS[
'BE_USER']->doesUserHaveAccess($this->record, 8);
172 return $this->cachedAccessRights[
'create'];
181 if (!isset($this->cachedAccessRights[
'edit'])) {
182 $this->cachedAccessRights[
'edit'] =
$GLOBALS[
'BE_USER']->doesUserHaveAccess($this->record, 2);
184 return $this->cachedAccessRights[
'edit'];
193 if (!isset($this->cachedAccessRights[
'remove'])) {
194 $this->cachedAccessRights[
'remove'] =
$GLOBALS[
'BE_USER']->doesUserHaveAccess($this->record, 4);
196 $this->cachedAccessRights[
'remove'] = FALSE;
199 return $this->cachedAccessRights[
'remove'];
208 return $this->
canEdit($this->record) &&
$GLOBALS[
'BE_USER']->checkLanguageAccess(0);
220 &&
$GLOBALS[
'BE_USER']->checkLanguageAccess(0)
230 return $this->
canEdit($this->record) &&
$GLOBALS[
'BE_USER']->checkLanguageAccess(0);
242 &&
$GLOBALS[
'BE_USER']->checkLanguageAccess(0)
252 return $this->
canCreate($this->record) &&
$GLOBALS[
'BE_USER']->checkLanguageAccess(0);
264 &&
$GLOBALS[
'BE_USER']->checkLanguageAccess(0)
277 &&
$GLOBALS[
'BE_USER']->checkLanguageAccess(0)
290 &&
$GLOBALS[
'BE_USER']->checkLanguageAccess(0)
300 return $GLOBALS[
'BE_USER']->checkLanguageAccess(0);
337 !empty($this->record[
'deleted'])
358 public function toArray($addChildNodes = TRUE) {
359 $arrayRepresentation = parent::toArray();
361 $arrayRepresentation[
'realId'] = $this->
getId();
362 $arrayRepresentation[
'nodeData'][
'id'] = $this->
getId();
365 $arrayRepresentation[
'nodeData'][
'mountPoint'] = $this->
getMountPoint();
366 $arrayRepresentation[
'nodeData'][
'workspaceId'] = $this->
getWorkspaceId();
367 $arrayRepresentation[
'nodeData'][
'isMountPoint'] = $this->
isMountPoint();
368 $arrayRepresentation[
'nodeData'][
'backgroundColor'] = htmlspecialchars($this->
getBackgroundColor());
369 $arrayRepresentation[
'nodeData'][
'serializeClassName'] = get_class($this);
370 return $arrayRepresentation;
380 parent::dataFromArray($data);
canBeTemporaryMountPoint()
setWorkspaceId($workspaceId)
setReadableRootline($rootline)
calculateNodeId($prefix='p')
toArray($addChildNodes=TRUE)
equals(\TYPO3\CMS\Backend\Tree\TreeNode $other)
setIsMountPoint($isMountPoint)
canBeDisabledAndEnabled()
setBackgroundColor($backgroundColor)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
setMountPoint($mountPoint)