Parent = $Handle; } public function setMultiItem ($Handle) { return parent::setItem ($Handle); } // {{{ setItem /** * Go into editor-mode * * @param object $Item * * @access protected * @return bool **/ protected function setItem ($Item) { if (!is_object ($this->Parent)) return false; return $this->Parent->setItem ($Item); } // }}} // {{{ probeItem /** * Check if the given URL contains an item and assign it * * @param array $URL * @param string $Base (optional) Use this as URL-Base * @param bool $Force (optional) Force the check even if an item was already loaded * * @access protected * @return bool **/ protected function probeItem (&$URL, $Base = null, $Force = false) { if (!is_object ($this->Parent)) return false; return $this->Parent->probeItem ($URL, $Base, $Force); } // }}} // {{{ getBase /** * Retrive currently assigned URL-Base * * @param bool $includeItem (optional) * * @access public * @return string **/ public function getBase ($Minimal = false) { $Base = parent::getBase (); if ($this->urlMode !== self::MODE_URL) return $Base; if (!$this->haveItem () || !$Minimal) return $Base; # TODO: return dirname ($Base) . '/'; return $Base; } // }}} } ?>