Home | Wiki | OI 1.x Docs | OI 2.x Docs |
OpenInteract2::Controller::ManageTemplates - Mixin methods for managing templates
use base qw( OpenInteract2::Controller::ManageTemplates );
If a controller wants to keep track of templates used during a request it should add this class to its ISA.
init_templates()
Initializes the internal variable for tracking templates. Should be called
from the implementing class's init()
method.
add_template_used( $template_name )
Adds $template_name
to the list of those used.
get_template_used()
Returns an arrayref of all templates used in they order they were added.
None known.
Nothing known.
Copyright (c) 2002-2003 Chris Winters. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Chris Winters <chris@cwinters.com>
Generated from the OpenInteract 1.99_03 source.