NAME
DDG::Publisher::File - A file inside the publisher
VERSION
version 1043
ATTRIBUTES
dir
DDG::Publisher::DirRole object of this file
static
This is a static file, so its not generated for every language, only one file.
file
Filename inside the directory of the site.
file
Base path inside the site directory, must be given on construction.
locale
Locale used for this specific file.
code
Additional code that needs to be executed for getting the variables for the template of this file.
file
Template name used, normally by default this is not used, instead base.tx template is loaded by default, and this one is using the template variable. If there is a variable no_base set inside the resulting variables for this file, then this template name is used instead of base.tx
content
The resulting (uncompressed) content of the file. Fetching this will automatically fire up the template engine to generate the content.
AUTHOR
Torsten Raudssus <torsten@raudss.us>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by DuckDuckGo, Inc. http://duckduckgo.com/.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004