private function loadAllMyLocations() { if (!isset($this->allMyLocations)) { $this->allMyLocations = array(); // Load all me currents objects $all = Dolumar_Underworld_Mappers_ArmyMapper::getFromSide($this->mission, $this->side); foreach ($all as $v) { $this->allMyLocations[] = $v->getLocation(); } $this->exploredLocations = Dolumar_Underworld_Mappers_ExploredMapper::getExploredLocations($this->mission, $this->side); } }