User Tools

Site Tools


esmith:template

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
esmith:template [2015/05/22 08:12]
stephdl [$confref]
esmith:template [2015/05/22 08:15]
stephdl [SEE ALSO]
Line 24: Line 24:
 DEPRECATED.  Contains a reference to the hash passed in via CONFREF.  If none was given it defaults to a tied esmith::config hash. DEPRECATED.  Contains a reference to the hash passed in via CONFREF.  If none was given it defaults to a tied esmith::config hash.
  
-===== $DB =====+==== $DB ====
 Contains a reference to an esmith::ConfigDB object pointing at the default configurations.  This is to be used to call methods like "$DB-"services> and *not* for alterting the database. Contains a reference to an esmith::ConfigDB object pointing at the default configurations.  This is to be used to call methods like "$DB-"services> and *not* for alterting the database.
  
Line 48: Line 48:
                                TEMPLATE_PATH => $output_file                                TEMPLATE_PATH => $output_file
                             });                             });
- +  
              $filled_in_template = processTemplate({ CONFREF       => \%config,              $filled_in_template = processTemplate({ CONFREF       => \%config,
                                                      TEMPLATE_PATH => $output_file                                                      TEMPLATE_PATH => $output_file
Line 187: Line 187:
 http://docs.nethserver.org/projects/nethserver-devel/en/latest/templates.html http://docs.nethserver.org/projects/nethserver-devel/en/latest/templates.html
  
-[http://wiki.contribs.org/Text::Template Text::Template]+[http://wiki.contribs.org/Text::Template |Text::Template]
  
 ===== AUTHOR ===== ===== AUTHOR =====
Line 194: Line 194:
  
 {{tag> neth-development sme-development }} {{tag> neth-development sme-development }}
- 
-[[Category:SME Server Development Framework]] 
-[[Category:Development Tools]] 
  
esmith/template.txt ยท Last modified: 2019/06/05 19:48 (external edit)