/**
  * evaluateRootFolderId
  * @author Thomas Schedler <*****@*****.**>
  * @version 1.0
  */
 public function evaluateRootFolderId()
 {
     if (isset($this->objPage) && is_object($this->objPage) && $this->intRootFolderId == 0) {
         if ($this->objPage->getParentTypeId() == $this->core->sysConfig->parent_types->folder) {
             $this->objParentFolders = $this->ParentFolders();
             if (count($this->objParentFolders) > 0) {
                 $this->intRootFolderId = $this->objParentFolders[count($this->objParentFolders) - 1]->id;
                 $this->strRootFolderId = $this->objParentFolders[count($this->objParentFolders) - 1]->folderId;
             }
         }
     }
 }