<?phpclassOverviewextendsModelBase{publicfunctiongetGroups(){$groups=array();foreach($this->get('OVERVIEW.GROUPS')as$group=>$rooms){foreach($roomsas$room){try{$groups[$group][]=newRoom($room);}catch(NotFountException$e){// just ignore unknown roomscontinue;}}}return$groups;}}