NAME

App::Manoc::View::TT::Plugin::Menu - Manoc menu plugin

VERSION

version 2.99.2

DESCRIPTION

Manoc TT plugin to generate application navigation menu

METHODS

new

Contructor.

Return the menu structure filtered based on current user permission.

SYNOPSYS

[%- USE Menu -%]


[% FOREACH s IN Menu.menu %]
     <li>
     <a href="[%IF s.path %][% s.path %][% ELSE %]#[% END %]">
     # etc...

[% END %]

SEE ALSO

App::Manoc

AUTHORS

  • Gabriele Mambrini <gmambro@cpan.org>

  • Enrico Liguori

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gabriele Mambrini.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.