Framework
3.9
|
Base class for APIFormatters. More...
Public Member Functions | |
getClass () | |
format ($items) | |
Override this function to provide your format definition. More... | |
Public Attributes | |
$parent | |
Base class for APIFormatters.
Extend this class and implement the format() method to provide your custom data formatter.
Definition at line 47 of file api_helper.inc.
|
abstract |
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 in APITemplate, APICSVFormatter, APIExcelFormatter, APICanonicalXMLFormatter, and APIJSONFormatter.
APIFormatter::getClass | ( | ) |
Definition at line 51 of file api_helper.inc.
APIFormatter::$parent |
Definition at line 49 of file api_helper.inc.