Dynamicweb.Rendering Namespace : Template Class |
The following tables list the members exposed by Template.
Name | Description | |
---|---|---|
Template Constructor | Overloaded. |
Name | Description | |
---|---|---|
DeveloperMode | Gets or sets value indicating whether template is executing in developer mode. | |
Html | Gets or sets the HTML of the template. Usually loaded when instanciated New Template("MyFolder/MyTemplate.html") . | |
Item | Gets the value of the passed variable name. | |
Tags | Gets or sets the collection of template tags. |
Name | Description | |
---|---|---|
CommitLoop | Commits a loop. | |
GenerateTemplate | Generates a template file on disk. Used when the writing the code for a template. Call this method to have a template generated based on the tags set. | |
GetLoop | Gets a loop. | |
GetValue | Gets the value of the passed variable name. | |
LoadTemplate | Loads a Template file into the object from disk specified by path parameter. | |
LoopExists | Checks if a loop exists in the loaded template. | |
Output | Parses the loaded template html with the data set on the object with SetTag(String,String). If the loaded template is a XSLT file, the passed tags are converted into a XML-document which is applied with the loaded XSLT. | |
SetTag | Overloaded. Specifies a tag name and value for the instance of the template object. | |
SetTags | Overloaded. Adds a collection of tags to the current instance tag collection. | |
TagExists | Checks if a tag exists in the loaded template. |