JsonCompatibleConverter
Table of Contents
Methods
- convert() : array<string|int, mixed>
- Convert an array to format compatible with CUtil::PhpToJSObject to use in Json::encode
Methods
convert()
Convert an array to format compatible with CUtil::PhpToJSObject to use in Json::encode
public
static convert(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
- $data : array<string|int, mixed>