public _jsonp ( mixed $data, string $param = 'jsonp', integer $code = 200, boolean $encode = true, string $charset = 'utf-8', integer $option ) | ||
$data | mixed | JSON data |
$param | string | Query parameter that specifies the callback name. |
$code | integer | HTTP status code |
$encode | boolean | Whether to perform JSON encoding |
$charset | string | Charset |
$option | integer | Bitmask Json constant such as JSON_HEX_QUOT |