/**
  * @param string $strSystemid
  * @param string $strStopSystemid
  *
  * @return array
  */
 public function getArrOutputNaviEntries($strSystemid = "", $strStopSystemid = "")
 {
     $arrPath = parent::getArrOutputNaviEntries($strSystemid, $strStopSystemid);
     if (validateSystemid($this->getSystemid()) && class_objectfactory::getInstance()->getObject($this->getSystemid()) != null) {
         $arrPath[] = class_link::getLinkAdmin("workflows", $this->getAction(), "&systemid=" . $this->getSystemid(), class_objectfactory::getInstance()->getObject($this->getSystemid())->getStrDisplayName());
     }
     return $arrPath;
 }
 /**
  * Helper to generate a small path-navigation
  *
  * @return array
  */
 protected function getArrOutputNaviEntries()
 {
     $arrEntries = parent::getArrOutputNaviEntries();
     $arrPath = $this->getPathArray();
     foreach ($arrPath as $strOneSystemid) {
         $objPoint = new class_module_navigation_point($strOneSystemid);
         $arrEntries[] = class_link::getLinkAdmin("navigation", "list", "&systemid=" . $strOneSystemid, $objPoint->getStrName(), $objPoint->getStrName());
     }
     return $arrEntries;
 }
 /**
  * Builds the object-path of the currently selected record.
  * Used to render the path-navigation in the backend.
  * Therefore the path from the current record up to the module-record is created based on the
  * common prev-id relation.
  * Each node is rendered using getOutputNaviEntry, so you may overwrite getOutputNaviEntry in
  * order to create the links based on an object.
  *
  * @return array
  * @see class_admin_evensimpler::getOutputNaviEntry()
  */
 protected function getArrOutputNaviEntries()
 {
     $strOldAction = $this->getAction();
     $this->setAction($this->strOriginalAction);
     $arrPathLinks = parent::getArrOutputNaviEntries();
     $this->setAction($strOldAction);
     $arrPath = $this->getPathArray($this->getSystemid());
     // Render additional navigation path entries for child objects.
     foreach ($arrPath as $strOneSystemid) {
         if (!validateSystemid($strOneSystemid)) {
             continue;
         }
         $objInstance = class_objectfactory::getInstance()->getObject($strOneSystemid);
         if ($objInstance != null) {
             $objEntry = $this->getOutputNaviEntry($objInstance);
             if ($objEntry != null) {
                 //                    $arrLink = splitUpLink($objEntry);
                 //                    if(uniStrlen($arrLink["name"] > 50))
                 //                        $objEntry = uniStrReplace($arrLink["name"], uniStrTrim($arrLink["name"], 50), $objEntry);
                 $arrPathLinks[] = $objEntry;
             }
         }
     }
     return $arrPathLinks;
 }
 /**
  * Helper to generate a small path-navigation
  *
  * @return array
  */
 protected function getArrOutputNaviEntries()
 {
     $arrPath = $this->getPathArray();
     $arrPathLinks = parent::getArrOutputNaviEntries();
     array_pop($arrPathLinks);
     $arrPathLinks[] = class_link::getLinkAdmin("pages", "list", "&unlockid=" . $this->getSystemid(), $this->getLang("modul_titel", "pages"));
     foreach ($arrPath as $strOneSystemid) {
         /** @var $objObject class_module_pages_folder|class_module_pages_page */
         $objObject = class_objectfactory::getInstance()->getObject($strOneSystemid);
         //Skip Elements: No sense to show in path-navigation
         if ($objObject == null || $objObject->getIntModuleNr() == _pages_content_modul_id_) {
             continue;
         }
         if ($objObject instanceof class_module_pages_folder) {
             $arrPathLinks[] = class_link::getLinkAdmin("pages", "list", "&systemid=" . $strOneSystemid . "&unlockid=" . $this->getSystemid(), $objObject->getStrName());
         }
         if ($objObject instanceof class_module_pages_page) {
             $arrPathLinks[] = class_link::getLinkAdmin("pages", "list", "&systemid=" . $strOneSystemid . "&unlockid=" . $this->getSystemid(), $objObject->getStrBrowsername());
         }
     }
     return $arrPathLinks;
 }
 /**
  * Creates a pathnavigation through all folders till the current page / folder
  *
  * @return array
  */
 protected function getArrOutputNaviEntries()
 {
     $arrPathLinks = parent::getArrOutputNaviEntries();
     $arrPath = $this->getPathArray($this->getSystemid());
     //Link to root-folder
     foreach ($arrPath as $strOneFolderID) {
         /** @var $objInstance class_module_pages_folder|class_module_pages_page */
         $objInstance = class_objectfactory::getInstance()->getObject($strOneFolderID);
         if ($objInstance instanceof class_module_pages_folder) {
             $arrPathLinks[] = class_link::getLinkAdmin("pages", "list", "&systemid=" . $strOneFolderID . "&unlockid=" . $this->getSystemid(), $objInstance->getStrName());
         }
         if ($objInstance instanceof class_module_pages_page) {
             $arrPathLinks[] = class_link::getLinkAdmin("pages", "list", "&systemid=" . $strOneFolderID . "&unlockid=" . $this->getSystemid(), $objInstance->getStrBrowsername());
         }
     }
     return $arrPathLinks;
 }