documented with
GabLibrary Documentor.
(5/17/2007 2:55:02 PM)


Class TextTemplate ^
Represents a textbased template which can be used as content for emails, etc. It takes a file and replaces given placeholders with specific values. Placeholders can be common name value pairs or even whole blocks which hold name value pairs and can be duplicated several times. It's possible to create, modify and delete the templates. Example for the usage as an email template (first line of the template is used as subject): set t = new TextTemplate t.add "name", "John Doe" email.subject = t.getFirstLine() email.body = t.getAllButFirstLine()
Version: 1.2
Author: Michal Gabrukiewicz - gabru @ grafix.at on 24.10.2003
Last modified: 17.05.2007 14:02:32
Path: /gab_Library/class_textTemplate/TextTemplate.asp
Demo: /gab_Library/class_textTemplate/demo/

Properties ^

Methods ^



Class TextTemplateBlock ^
represents a block which is used within the TextTemplate Blocks are defined with <<< BLOCK NAME >>> ... <<< BLOCKEND NAME >>>. var can be defined between the "begin" and the "end" of the block. Each block can hold items which will be templated with the block
Version: 0.1
Author: Michal Gabrukiewicz on 2006-10-28 14:36
Last modified: 17.05.2007 14:12:42
Path: /gab_Library/class_textTemplate/class_TextTemplateBlock.asp
Demo: /gab_Library/class_textTemplate/demo/

Properties ^

Methods ^