khanat-opennel-code/code/web/app/app_achievements/_AchWebParser/class/Entity_abstract.php
SirCotare 9283736c91 #1470 This is a huge update. It contains all changes we made to the system on the
official ryzom servers. I removed non open source content though. So this version
is running on live servers and works!

--HG--
branch : gsoc2012-achievements
2012-12-10 15:07:13 +01:00

25 lines
No EOL
442 B
PHP

<?php
/*
* Unlike normal values, entities may contain several values. This is their wrapper.
*/
abstract class Entity {
private $name;
private $_dataset = array();
function getName() {
return $this->name;
}
function setName($n) {
$this->name = $n;
}
function setData($key,$data) {
$this->_dataset[$key] = $data;
}
function getData($key) {
return $this->_dataset[$key];
}
}
?>