Yukki::Web::View - base class for Yukki::Web views
version 0.111060
This is the base class for all Yukki::Web views.
This is the Yukki::Web singleton.
This is the Text::MultiMarkdown object for rendering "yukkitext". Do not use.
Provides a format_markdown method delegated to markdown. Do not use.
format_markdown
markdown
This is the Template::Semantic object that transforms the templates. Do not use.
my $document = $self->render_page({ template => 'foo.html', context => $ctx, vars => { ... }, });
This renders the given template and places it into the content section of the shell.html template.
The context is used to render parts of the shell template.
context
The vars are processed against the given template with Template::Semantic.
vars
my $document = $self->render_links(\@navigation_links);
This renders a set of links using the links.html template.
my $document = $self->render({ template => 'foo.html', vars => { ... }, });
This renders the named template using Template::Semantic. The vars are used as the ones passed to the process method.
process
Used to help render yukkilinks. Do not use.
Used to render plugged in markup. Do not use.
my $html = $view->yukkitext({ repository => $repository_name, yukkitext => $yukkitext, });
Yukkitext is markdown plus some extra stuff. The extra stuff is:
[[ main:/link/to/page.yukki | Link Title ]] - wiki link [[ /link/to/page.yukki | Link Title ]] - wiki link [[ /link/to/page.yukki ]] - wiki link {{attachment:file.pdf}} - attachment URL
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
This software is copyright (c) 2011 by Qubling Software LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Yukki, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yukki
CPAN shell
perl -MCPAN -e shell install Yukki
For more information on module installation, please visit the detailed CPAN module installation guide.