/**
  * @access private
  * @return string
  */
 function _addPage()
 {
     $user =& $this->_User;
     $page_access = GetPostOrGet('pageAccess');
     $page_edit = GetPostOrGet('pageEdit');
     $page_edit_comment = GetPostOrGet('pageEditComment');
     $page_lang = GetPostOrGet('pageLang');
     $page_name = GetPostOrGet('pageName');
     $page_parent_id = GetPostOrGet('pageParentID');
     $page_title = GetPostOrGet('pageTitle');
     $page_type = GetPostOrGet('pageType');
     $lastid = $this->_PageStructure->AddNewPage($page_name, $page_title, $page_lang, $page_access, $page_type, $page_parent_id, $page_edit_comment);
     if ($page_edit != '') {
         header("Location: admin.php?page=pagestructure&action=editPage&pageID={$lastid}");
     } else {
         header("Location: admin.php?page=pagestructure");
     }
 }