ePortal::HTML::Tree - Draws a tree.
THIS MODULE IS UNDER CONSTRUCTION !!!
This module is used to draw a tree of objects.
Constructs self referencing URL removing all myself specific parameters. New parameters should be passed to this function to make them added to URL.
Returns URL with parameters.
Main entrance
ID of image TR%_###i
ID of hideable span TR%_###s
% is current level of tree starting with 1.
### - the ID of the item
$parent is undef for root items.
Parameters are:
html - custom HTML code for the item
class, style
Returns $id or new generated id.
Set default class name for items at depth $depth. Use individual properties in add_item() to override this defaults.
add_item()
Set default style name for items at depth $depth. Use individual properties in add_item() to override this defaults.
Set default url for items at depth $depth. Use individual properties in add_item() to override this defaults.
Expand first $level levels. Collapse others.
Expand tree to make the item visible. Collapse all others.
Sergey Rusakov, <rusakov_sa@users.sourceforge.net>
To install ePortal, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ePortal
CPAN shell
perl -MCPAN -e shell install ePortal
For more information on module installation, please visit the detailed CPAN module installation guide.