| Name | parameters | Description |
|---|---|---|
| src($) | filename | Specifies the template source file name
An error occurs if the named file does not exist. |
| output(@) | Array of http header items | Outputs the template file specified to 'src()' with all of the token values
merged. The parameter will be output first followed by an empty, blank, line. This seperates the http header from the body src html. Specify cookie creation commands as parameters to this method to ensure that cookies are set when the page is output. |
| htmlString() | - |
Similar to 'output' but rather than sending the merged output to STDOUT, it
returns it as a String. Note that you cannot specify any http headers. Used with inner / sub templates. |
| listAllTokens() | - |
Returns an array contain the names of all tokens found by the parse process
within the template specified to 'src()'. Tokens which appear within repeating blocks are prefixed by 'block_name:' |
| dumpAll() | - | Sends to STDOUT an html page which contains the name of the tokens, and any value currently assigned to it. |
|
Ian Steel. ( ian@bilstone.co.uk )
March 2000 |