khanat-code-old/code/web/app/app_achievements/class/Node_trait.php

22 lines
334 B
PHP
Raw Normal View History

<?php
trait Node {
protected $id;
protected $parent;
final function getID() {
return $this->id;
}
final function getParent() {
return $this->parent;
}
final protected function setID($id) {
$this->id = $id;
}
final protected function setParent($p) {
$this->parent = $p;
}
}
?>