A suggestion, I do not know if is is one, but I immediately changed one little thing in the class, so you can use it on several tables (pages, category, comments, etc ...)
I commented :
//protected $_table = 'hierarchy';
and added this
public function __construct($_table = '')
$this->_table = $_table;
Then it only remains to choose the table to use.
$this->test = new Mahana_hierarchy('comments');
$comments = $this->test->get(0);
It’s not much, but pretty handy.
Otherwise, nothing to report at this time.
PS: thank you