extends |
HM_Format |
|---|
Handles JSON formatted results for AJAX requests
| Methods | ||||||
|---|---|---|---|---|---|---|
public
|
content(array $output, array $allowed_output): string
Run modules and merge + filter the result array
Run modules and merge + filter the result array Parameters
Returnsencoded data to be sent to the browser Implements |
# | ||||
public
|
filter_all_output(array $data, array $allowed): array
Filter data against module set white lists before sending it to the browser
Filter data against module set white lists before sending it to the browser Parameters
Returnsfiltered data |
# | ||||
| Methods inherited from HM_Format |
|---|
__construct(), |
| Properties inherited from HM_Format |
|---|
$config |