Extend Zend_Db_Table for accessing Hierarchical Data with Adjacency List (parent ID) plus Path Enumeration solutions