mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-08 08:19:01 +00:00
ad0bbe922f
--HG-- branch : gsoc2012-achievements
31 lines
No EOL
451 B
PHP
31 lines
No EOL
451 B
PHP
<?php
|
|
trait Node {
|
|
protected $idx;
|
|
protected $id;
|
|
protected $parent;
|
|
|
|
final function getID() {
|
|
return $this->id;
|
|
}
|
|
|
|
final function getIdx() {
|
|
return $this->idx;
|
|
}
|
|
|
|
final function getParent() {
|
|
return $this->parent;
|
|
}
|
|
|
|
final function setIdx($i) {
|
|
$this->idx = $i;
|
|
}
|
|
|
|
final function setID($id) {
|
|
$this->id = $id;
|
|
}
|
|
|
|
final function setParent($p) {
|
|
$this->parent = $p;
|
|
}
|
|
}
|
|
?>
|