[juno] accounts tree
Chuck Hagenbuch
chuck@horde.org
Mon, 26 Aug 2002 11:40:54 -0400
Quoting Mathieu Legare <legare@uqtr.ca>:
> Is there some classes in the Horde API, I could use to build and
> display an account tree in a way similar of gnucash. See screeshot :
Check out horde/lib/CategoryTree.php.
> I would use the field 'account_parent' of the juno_accounts table
> which will point to the parent account_id of the current account...
If you pass the above class data in the appropriate format (see
Category::export() and the admin/*.php files), it'll do it for you. Trean,
the new bookmarks app, uses the code a lot too.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"After a few minutes the most aromatic and nice smelling Italian coffee
will come out of the exhaustpipe." - Our stove-top espresso pot