/** * Get items of current folder */ function getItems() { $st_item =& $this->media_object->getMediaItem("Standard"); $max = ilMapArea::_getMaxNr($st_item->getId()); $areas = array(); include_once "./Services/MediaObjects/classes/class.ilMapArea.php"; for ($i = 1; $i <= $max; $i++) { $area = new ilMapArea($st_item->getId(), $i); $areas[] = array("nr" => $i, "area" => $area, "title" => $area->getTitle()); } $this->setData($areas); }