HTML::Widgets::NavMenu::Iterator::NavMenu - navmenu iterator.


HTML-Widgets-NavMenu documentation  | view source Contained in the HTML-Widgets-NavMenu distribution.

Index


NAME

Top

HTML::Widgets::NavMenu::Iterator::NavMenu - navmenu iterator.

SYNOPSIS

Top

For internal use only.

METHODS =cut

Top

sub _init { my $self = shift; my $args = shift;

    $self->SUPER::_init($args);

    # Make a fresh copy just to be on the safe side.
    $self->_ul_classes([ @{$args->{'ul_classes'}} ]);

    return 0;
}

$self->gen_ul_tag({depth => $depth});

Generate a UL tag of depth $depth.

get_currently_active_text ( $node )

Calculates the highlighted text for the node $node. Normally surrounds it with <b> ... </b> tags.

my @tags = $self->get_open_sub_menu_tags()

Gets the tags to open a new sub menu.

$self->get_role()

Retrieves the current role.


HTML-Widgets-NavMenu documentation  | view source Contained in the HTML-Widgets-NavMenu distribution.