mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-11 01:40:00 +00:00
25 lines
342 B
PHP
25 lines
342 B
PHP
|
<?php
|
||
|
class RyzomUser {
|
||
|
private $data;
|
||
|
|
||
|
function RyzomUser($data) {
|
||
|
$this->data = $data;
|
||
|
}
|
||
|
|
||
|
function getID() {
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
function getLang() {
|
||
|
return $this->data['lang'];
|
||
|
}
|
||
|
|
||
|
function isIG() {
|
||
|
return $this->data['ig'];
|
||
|
}
|
||
|
|
||
|
function getParam($p) {
|
||
|
return $this->data[$p];
|
||
|
}
|
||
|
}
|
||
|
?>
|