public function CMSTreeClasses()
    {
        $classes = sprintf('class-%s', Convert::raw2htmlid(static::class));
        if ($this->HasBrokenFile || $this->HasBrokenLink) {
            $classes .= " BrokenLink";
        }

        if (!$this->canAddChildren()) {
            $classes .= " nochildren";
        }

        if (!$this->canEdit() && !$this->canAddChildren()) {
            if (!$this->canView()) {
                $classes .= " disabled";
            } else {
                $classes .= " edit-disabled";
            }
        }

        if (!$this->ShowInMenus) {
            $classes .= " notinmenu";
        }

        return $classes;
    }
public function CMSTreeClasses()
    {
        $classes = sprintf('class-%s', Convert::raw2htmlid(static::class));
        if ($this->HasBrokenFile || $this->HasBrokenLink) {
            $classes .= " BrokenLink";
        }

        if (!$this->canAddChildren()) {
            $classes .= " nochildren";
        }

        if (!$this->canEdit() && !$this->canAddChildren()) {
            if (!$this->canView()) {
                $classes .= " disabled";
            } else {
                $classes .= " edit-disabled";
            }
        }

        if (!$this->ShowInMenus) {
            $classes .= " notinmenu";
        }

        return $classes;
    }
public function CMSTreeClasses ( ) { $ classes = sprintf ( 'class-%s' , Convert :: raw2htmlid ( static :: class ) ) ; if ( $ this -> HasBrokenFile || $ this -> HasBrokenLink ) { $ classes .= " BrokenLink" ; } if ( ! $ this -> canAddChildren ( ) ) { $ classes .= " nochildren" ; } if ( ! $ this -> canEdit ( ) && ! $ this -> canAddChildren ( ) ) { if ( ! $ this -> canView ( ) ) { $ classes .= " disabled" ; } else { $ classes .= " edit-disabled" ; } } if ( ! $ this -> ShowInMenus ) { $ classes .= " notinmenu" ; } return $ classes ; }
Return the CSS classes to apply to this node in the CMS tree.

@return string
Return the CSS classes to apply to this node in the CMS tree .