This module implements a subclass of Template::TT3::Element used to represent filenames.
This module implements the following methods in addition to those inherited from the Template::TT3::Element::Literal , Template::TT3::Element , Template::TT3::Base and Badger::Base base classes, and the Template::TT3::Element::Role::Filename mix-in role.
This method is called when an element appears where a filename is expected. It concatenates the text of any other filename tokens that follow immediately after it and stores it internally.
This method returns the filename parsed by parse_filename() .
An alias to the filename() method.
An alias to the filename() method.
An alias to the filename() method.
The methods returns a template object corresponding to the filename stored in the element.
This method is called by a
Template::TT3::View
object as part of the double
dispatch process that is used to render views of template elements. It calls
the view_filename()
method against the view object passed as the only
argument, $view
. It passes itself as an argument to the view_filename()
method.
Andy Wardley http://wardley.org
Copyright (C) 1996-2009 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This module inherits methods from the Template::TT3::Element::Literal , Template::TT3::Element , Template::TT3::Base and Badger::Base base classes. It also mixes in methods from the Template::TT3::Element::Role::Filename module.
It is constructed using the Template::TT3::Class::Element class metaprogramming module.