/**
  * Get areas for a certain target
  */
 static function _getMobsForTarget($a_type, $a_target)
 {
     global $ilDB;
     $q = "SELECT * FROM map_area WHERE " . " link_type = " . $ilDB->quote($a_type, "text") . " AND target = " . $ilDB->quote($a_target, "text");
     $set = $ilDB->query($q);
     $mobs = array();
     while ($rec = $ilDB->fetchAssoc($set)) {
         $mob_id = ilMediaItem::_lookupMobId($rec["item_id"]);
         $mobs[$mob_id] = $mob_id;
     }
     return $mobs;
 }