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

36 lines
No EOL
588 B
PHP

<?php
abstract class Legacies_Empire_Model_Game_Abstract
extends Legacies_Core_Model
implements Iterator, Countable
{
public function count()
{
return count($this->_data);
}
public function current()
{
return current($this->_data);
}
public function next()
{
return next($this->_data);
}
public function key()
{
return key($this->_data);
}
public function valid()
{
return $this->current() !== false;
}
public function rewind()
{
reset($this->_data);
}
}