![]() |
Framework
3.9
|
Standard JSON formatter - formats items as a JSON serialized array of objects. More...
Inheritance diagram for APIJSONFormatter:
Collaboration diagram for APIJSONFormatter:Public Member Functions | |
| format ($items) | |
| Override this function to provide your format definition. More... | |
Public Member Functions inherited from APIFormatter | |
| getClass () | |
Additional Inherited Members | |
Public Attributes inherited from APIFormatter | |
| $parent | |
Standard JSON formatter - formats items as a JSON serialized array of objects.
Definition at line 69 of file api_helper.inc.
| APIJSONFormatter::format | ( | $items | ) |
Override this function to provide your format definition.
The results should be sent to the output buffer, via 'echo' or equivalent.
| array | $items | the list of DataItems to be formatted |
Reimplemented from APIFormatter.
Definition at line 71 of file api_helper.inc.