public function getSections()
 {
     $ret = array();
     $konzerte = $this->getKonzerteSection();
     // special case here: $konzerte could be null if no events are available to display
     if ($konzerte != null) {
         array_push($ret, $konzerte);
     }
     $band = new BandView();
     $band->setTitle("band");
     $band->setId("band");
     array_push($ret, $band);
     $bilder = new FotosView();
     $bilder->setId("fotos");
     $bilder->setTitle("fotos");
     $bilder->setHidden(true);
     $galleryDAO = new GalleryDAOExt();
     $galleryItemViews = $galleryDAO->queryForSectionOverview();
     $bilder->setGalleryItemViews($galleryItemViews);
     array_push($ret, $bilder);
     $musik = new MusikView();
     $musik->setTitle("musik");
     $musik->setId("musik");
     array_push($ret, $musik);
     $downloads = new DownloadsView();
     $downloads->setTitle("downloads");
     $downloads->setId("downloads");
     array_push($ret, $downloads);
     $kontakt = new KontaktView();
     $kontakt->setTitle("kontakt");
     $kontakt->setId("kontakt");
     array_push($ret, $kontakt);
     return $ret;
 }
 public function loadAllGalleries()
 {
     $bilder = new FotosView();
     $bilder->setId("fotos");
     $bilder->setTitle("fotos");
     $galleryDAO = new GalleryDAOExt();
     $galleries = $galleryDAO->queryAllActiveGalleries();
     $bilder->setGalleries($galleries);
     $galleryItemViews = $galleryDAO->queryAllGalleryItems();
     $bilder->setGalleryItemViews($galleryItemViews);
     $bilder->render();
 }