private function SaveMemberGroups()
    {
        $selectedIDs = Request::PostArray('MemberGroup');
        if ($this->page->GetGuestsOnly())
        {
            $selectedIDs = array();
        }
        $exIDs = Membergroup::GetKeyList(MembergroupUtil::PageMembergroups($this->page));
        $this->DeleteOldMemberGroups($selectedIDs);
        $this->SaveNewMemberGroups($selectedIDs, $exIDs);
    }
private function SaveMemberGroups()
    {
        $selectedIDs = Request::PostArray('MemberGroup');
        if ($this->page->GetGuestsOnly())
        {
            $selectedIDs = array();
        }
        $exIDs = Membergroup::GetKeyList(MembergroupUtil::PageMembergroups($this->page));
        $this->DeleteOldMemberGroups($selectedIDs);
        $this->SaveNewMemberGroups($selectedIDs, $exIDs);
    }
private function SaveMemberGroups ( ) { $ selectedIDs = Request :: PostArray ( 'MemberGroup' ) ; if ( $ this -> page -> GetGuestsOnly ( ) ) { $ selectedIDs = array ( ) ; } $ exIDs = Membergroup :: GetKeyList ( MembergroupUtil :: PageMembergroups ( $ this -> page ) ) ; $ this -> DeleteOldMemberGroups ( $ selectedIDs ) ; $ this -> SaveNewMemberGroups ( $ selectedIDs , $ exIDs ) ; }
Saves the member groups
Saves the member groups