wootook-reloaded/includes/application/code/community/Legacies/Empire/Model/Game/FieldsAlias.php
Gregory PLANCHAT 98cc710653 Fixed enqueuing issue
Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
2011-06-20 00:39:13 +02:00

49 lines
No EOL
934 B
PHP

<?php
/**
*
* Enter description here ...
*
* @uses Legacies_Object
* @uses Legacies_Empire
*/
class Legacies_Empire_Model_Game_FieldsAlias
extends Legacies_Empire_Model_Game_Abstract
implements Legacies_Core_Singleton
{
private static $_singleton = null;
public static function getSingleton()
{
if (self::$_singleton === null) {
self::$_singleton = new self();
}
return self::$_singleton;
}
protected function _init()
{
foreach (include ROOT_PATH . 'includes/data/fields-alias.php' as $elementId => $fieldName) {
$this->setData($elementId, $fieldName);
}
return $this;
}
protected function _load()
{
// NOP
return $this;
}
protected function _save()
{
// NOP
return $this;
}
protected function _delete()
{
// NOP
return $this;
}
}