JSON renderer
Return the template engine object, if any
If using a third-party template engine, such as Smarty, patTemplate, phplib, etc, return the template engine object. Useful for calling methods on these objects, such as for setting filters, modifiers, etc.
| Return type: | mixed |
|---|
Set the resolver used to map a template name to a resource the renderer may consume.
| Parameters: | Resolver – |
|---|---|
| Return type: | Renderer |
Set flag indicating whether or not to merge unnamed children
| Parameters: | bool – |
|---|---|
| Return type: | JsonRenderer |
Set the JSONP callback function name
| Parameters: | string – |
|---|---|
| Return type: | JsonpModel |
Returns whether or not the jsonpCallback has been set
| Return type: | bool |
|---|
Should we merge unnamed children?
| Return type: | bool |
|---|
Renders values as JSON
| Parameters: |
|
|---|---|
| Throws ExceptionDomainException: | |
| Return type: | string The script output. |