Красимир Беров > CGI-Ex-Recipes-0.08 > CGI::Ex::Recipes::Template::Menu

Download:
CGI-Ex-Recipes-0.08.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

CGI::Ex::Recipes::Template::Menu - Implements all sorts of menus for the application

VERSION ^

Version 0.02

SYNOPSIS ^

    [%# in some template altought it may be loaded first in the pre_process.tthtml %]
    [% menu = USE Menu %]
    
    [% menu.recipes_map(0)      %]
    ...

METHODS ^

recipes_map

Called in default.tthtml. Lists all categorie under $id and items within them.

list_item

Lists an item in the current category $id

AUTHOR ^

Красимир Беров, <k.berov at gmail.com>

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2007 Красимир Беров, all rights reserved.

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

syntax highlighting: