Comments: on this page. Click to read or post your own.
The SSViewer executes a .ss template file.
The SSViewer class handles rendering of .ss templates. In addition to a full template in the views folder, a template in views/Content or views/Layout will be rendered into $Content and $Layout, respectively.
Compiled templates are cached. If you put ?flush=1 on your URL, it will force the template to be recompiled. This is a hack; the system should really detect when a page needs re-fetching.
Works with the global $_TEMPLATE_MANIFEST which is compiled by ManifestBuilder->getTemplateManifest(). This associative array lists all template filepaths by "identifier", meaning the name of the template without its path or extension.
Example:
| Class | Description |
|---|---|
| SSViewer | The SSViewer executes a .ss template file. |
| SSViewer_FromString | Special SSViewer that will process a template passed as a string, rather than a filename. |
Documentation generated on Sun, 19 Oct 2008 06:46:25 +1300 by phpDocumentor 1.3.2