/** * @param integer PageID * @return string * @access private */ function _InlineMenuSaveEntryPage($PageID) { $entryID = GetPostOrGet('entryID'); $text = GetPostOrGet('text'); $type = GetPostOrGet('type'); $link = GetPostOrGet('link'); $sql = ''; switch ($type) { case 'link': $this->_PageStructure->SaveInlineMenuLink($text, $link, $entryID, $PageID); break; case 'intern': $this->_PageStructure->SaveInlineMenuInternLink($text, $link, $entryID, $PageID); break; case 'text': $this->_PageStructure->SaveInlineMenuText($text, $entryID, $PageID); break; case 'download': $this->_PageStructure->SaveInlineMenuDownload($text, $link, $entryID, $PageID); break; default: break; } return $this->_InlineMenuHomePage($PageID); }