HTML::Widgets::NavMenu::Iterator::Html - an iterator for HTML.


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

Index


NAME

Top

HTML::Widgets::NavMenu::Iterator::Html - an iterator for HTML.

SYNOPSIS

Top

For internal use only.

METHODS =cut

Top

use base qw(HTML::Widgets::NavMenu::Iterator::Base);

use HTML::Widgets::NavMenu::EscapeHtml;

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

    return HTML::Widgets::NavMenu::Iterator::Html::Item->new(
        $args,
    );
}

$self->node_start()

Gets called upon node start.

$self->node_end()

Gets called upon node end.

$self->end_root()

End-root event.

$self->node_should_recurse()

Override to determine when one should recurse to the node.

$self->get_a_tag()

Renders the HTML for the opening a-tag.

COPYRIGHT & LICENSE

Top


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