Template functions
Debugging
| Function | Summary |
|---|---|
| debug-accumulator | Generates debug statistics for a block of template code. |
| debug-log | Generates a debug log entry for the specified variables. |
| debug-timing-point | Measures the time it takes to process a block of template code. |
| debug-trace | Generates an XDebug dump which can be traced/analyzed. |
Miscellaneous
| Function | Summary |
|---|---|
| cache-block | Caches the contents of a template block. |
| fetch_alias | Executes a fetch based on configuration settings. |
| include | Includes a file. |
| ldelim | Outputs a left curly bracket, "{". |
| literal | Instructs the parser to ignore a block of template code. |
| rdelim | Outputs a right curly bracket, "}". |
| run-once | Assures that a block of template code is run only once within a page view. |
Variables
| Function | Summary |
|---|---|
| append-block | Redirects the output from multiple blocks of template code to an array. |
| def | Declares (and defines) a variable. Warns if the variable already exists. |
| default | Deprecated. |
| let | Deprecated. |
| sequence | Creates a sequence that can be iterated. |
| set | Sets the value of a variable. |
| set-block | Redirects the output from a block of template code to a string. |
| undef | Destroys previously defined variable(s). |
Visualization
| Function | Summary |
|---|---|
| attribute_edit_gui | Outputs the edit template for a content object attribute. |
| attribute_pdf_gui | Outputs the PDF template for a content object attribute. |
| attribute_result_gui | Outputs the result template for a content object attribute. |
| attribute_view_gui | Outputs the view template for a content object attribute. |
| class_attribute_edit_gui | Outputs the edit template for a content class attribute. |
| class_attribute_view_gui | Outputs the view template for a content class attribute. |
| collaboration_icon | Outputs the icon for a collaboration item. |
| collaboration_participation_view | Outputs information about a collaboration participant. |
| collaboration_simple_message_view | Outputs the view template for a collaboration message. |
| collaboration_view_gui | Outputs the template for a collaboration item. |
| content_pdf_gui | Outputs the PDF template for a content object. |
| content_version_view_gui | Outputs a view template for a content object version. |
| content_view_gui | Outputs a view template for a content object. |
| event_edit_gui | Outputs the edit template for a workflow event. |
| node_view_gui | Outputs the view template for a node. |
| related_view_gui | Not documented yet. |
| shop_account_view_gui | Outputs the view template for a specified order. |
| tool_bar | Outputs the template for a toolbar. |
Balazs Halasy (28/02/2005 1:01 pm)
Balazs Halasy (28/02/2005 1:01 pm)
Comments
There are no comments.