/** * @param integer PageID * @return string * @access private */ function _InlineMenuAddNewEntryPage($PageID) { $text = GetPostOrGet('text'); $type = GetPostOrGet('type'); $link = GetPostOrGet('link'); $sql = ''; switch ($type) { case 'link': $this->_PageStructure->AddInlineMenuLink($text, $link, $PageID); break; case 'intern': $this->_PageStructure->AddInlineMenuInternLink($text, $link, $PageID); break; case 'text': $this->_PageStructure->AddInlineMenuText($text, $PageID); break; case 'download': $this->_PageStructure->AddInlineMenuDownload($text, $link, $PageID); break; default: break; } return $this->_InlineMenuHomePage($PageID); }