
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 init() method of the implementing class.
add_template_used( $template_name )
Adds $template_name to the list of those used.
get_templates_used()
Returns an arrayref of all template names used in they order they were added.


Copyright (c) 2002-2005 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>