class CRM_Utils_JSON

Class handles functions for JSON format

Methods

static 
output(mixed $input)

Output json to the client.

static string
encodeDataTableSelector(array $params, int $sEcho, int $iTotal, int $iFilteredTotal, array $selectorElements) deprecated

Do not use this function. See CRM-16353.

Details

at line 43
static output(mixed $input)

Output json to the client.

Parameters

mixed $input

at line 65
static string encodeDataTableSelector(array $params, int $sEcho, int $iTotal, int $iFilteredTotal, array $selectorElements) deprecated

deprecated

Do not use this function. See CRM-16353.

Parameters

array $params Associated array of row elements.
int $sEcho Datatable needs this to make it more secure.
int $iTotal Total records.
int $iFilteredTotal Total records on a page.
array $selectorElements Selector elements.

Return Value

string