Sitellite Application Framework
Class Tree         Index         All Elements

Class: Template

Source Location: Program_Root/Template/Template.php

Class Overview

XT
   |
   --Template




Inherited Variables

Inherited Methods

Class: XT

XT::XT()
Constructor method. $prefix is either XT_DEFAULT_PREFIX,
XT::bind()
Bind some content to the specified tag.
XT::bindAttr()
Bind an attribute to the specified tag.
XT::box()
Executes the specified box using the Sitellite box API, which is essentially just an include. Note: This is now an alias for the loader_box() function.
XT::convertEntities()
Converts HTML entities into XT-compatible ch:entity tags.
XT::fill()
Executes a template. $obj is an optional object you can pass to the template, which makes its properties immediately available to the template. $carry is used internally to determine whether to reset the object register before executing.
XT::form()
Executes the specified form using the Sitellite form API, which is essentially just an include of a file that defines a subclass of saf.MailForm. Note: This is now an alias for the loader_form() function.
XT::ignoreUntilLevel()
XT::makeToc()
Generates a table of contents as an HTML unordered list, based on the $toc property. Note: Also requires $buildToc to be set to true.
XT::messy()
Uses the saf.HTML.Messy package to implement a "messy" parser in XT, allowing for invalid markup in templates (ie.
XT::path()
Returns either the contents of the $path property, or the current working directory, which should be used as the path instead.
XT::reverseEntities()
Reverses the conversion of HTML entities to XT-compatible ch:entity tags.
XT::validate()
Validates a template to see if it is a valid XML document.
XT::wrap()
Wraps $str in xt:tpl tags and returns it.

Class Details

[line 8]


[ Top ]


Copyright © 2007, SIMIAN systems Inc.
All rights reserved. Privacy policy
Documentation generated on Tue, 13 Feb 2007 17:19:49 -0600 by Sitellite AppDoc and phpDocumentor 1.2.2