From 15ad975deedd661fc0a2a9acc5d9148f95219614 Mon Sep 17 00:00:00 2001 From: kremsy Date: Thu, 9 Jan 2014 21:37:01 +0100 Subject: [PATCH] wait for prerpared --- .../ManiaExchangeInfoSearcher.php | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/application/core/ManiaExchange/ManiaExchangeInfoSearcher.php b/application/core/ManiaExchange/ManiaExchangeInfoSearcher.php index aecde968..caab1ed5 100644 --- a/application/core/ManiaExchange/ManiaExchangeInfoSearcher.php +++ b/application/core/ManiaExchange/ManiaExchangeInfoSearcher.php @@ -49,8 +49,31 @@ class ManiaExchangeInfoSearcher { public function updateMapObjectWithManiaExchangeIds(){ $maps = $this->maniaControl->mapManager->getMaps(); - foreach($maps as $map){ + $mapIds = array(); + foreach($maps as $map){ + /** @var Map $map */ + + //TODO prepared statement read MX id from maps database + + + + + + } + + + //code... + + //fetch mx info + + foreach ($maps as $map){ + /** @var Map $map */ + //code... + + + + //TODO prepared statment set MX id in maps database }