Refactored Controller

Refactored Database adapters

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
Gregory PLANCHAT 2012-03-01 18:20:05 +01:00
commit 03efb85c0b
76 changed files with 502 additions and 457 deletions

View file

@ -76,9 +76,9 @@ function BuildRessourcePage($CurrentUser, $CurrentPlanet ) {
$parse['resource_row'] = "";
$BuildTemp = $CurrentPlanet[ 'temp_max' ];
$types = Wootook_Empire_Model_Game_Types::getSingleton();
$productions = Wootook_Empire_Model_Game_Production::getSingleton();
$fields = Wootook_Empire_Model_Game_FieldsAlias::getSingleton();
$types = Wootook_Empire_Helper_Config_Types::getSingleton();
$productions = Wootook_Empire_Helper_Config_Production::getSingleton();
$fields = Wootook_Empire_Helper_Config_FieldsAlias::getSingleton();
foreach ($types['prod'] as $element) {
// $ProdID => $element
// $ProdGrid => $productions