![]() |
Framework
3.9
|
JoinResult is an empty placeholder class. More...
Public Member Functions | |
| JoinResult ($tag="join") | |
| toXML ($indent=0) | |
| Serializes the JoinResult to XML. More... | |
| format ($template) | |
| Formats the contents of the JoinResult using the supplied template. More... | |
Public Attributes | |
| $_xmlTagName = "join" | |
| $_classes | |
JoinResult is an empty placeholder class.
Instances of JoinResult are used to aggregate the results of the joined query. Each table that was joined is added as a sub-object of the JoinResult.
| JoinResult::format | ( | $template | ) |
Formats the contents of the JoinResult using the supplied template.
The DataItems contained in the JoinResult can be accessed via the usual relation traversal syntax {ClassName.field}. This method allows JoinResult objects to be used in DataListViews and other display controls.
| $template | the template for the formatted output |
Definition at line 85 of file join.inc.
| JoinResult::JoinResult | ( | $tag = "join" | ) |
| JoinResult::toXML | ( | $indent = 0 | ) |
Serializes the JoinResult to XML.
| integer | $indent | the initial indentation level for the output. |