Documentation

Response
in package

Table of Contents

$type  : mixed
__construct()  : mixed
error()  : mixed
send()  : mixed
csvError()  : string
csvSuccess()  : string
htmlError()  : string
htmlSuccess()  : string
jsonError()  : bool|string
jsonSuccess()  : bool|string
textError()  : string
textSuccess()  : string

Properties

Methods

__construct()

public __construct([mixed $response_type = null ]) : mixed
Parameters
$response_type : mixed = null
Return values
mixed

error()

public error(mixed $code, mixed $desc) : mixed
Parameters
$code : mixed
$desc : mixed
Return values
mixed

send()

public send(mixed $files) : mixed
Parameters
$files : mixed
Return values
mixed

csvError()

private static csvError(mixed $description) : string
Parameters
$description : mixed
Return values
string

csvSuccess()

private static csvSuccess(mixed $files) : string
Parameters
$files : mixed
Return values
string

htmlError()

private static htmlError(mixed $code, mixed $description) : string
Parameters
$code : mixed
$description : mixed
Return values
string

htmlSuccess()

private static htmlSuccess(mixed $files) : string
Parameters
$files : mixed
Return values
string

jsonError()

private static jsonError(mixed $code, mixed $description) : bool|string
Parameters
$code : mixed
$description : mixed
Return values
bool|string

jsonSuccess()

private static jsonSuccess(mixed $files) : bool|string
Parameters
$files : mixed
Return values
bool|string

textError()

private static textError(mixed $code, mixed $description) : string
Parameters
$code : mixed
$description : mixed
Return values
string

textSuccess()

private static textSuccess(mixed $files) : string
Parameters
$files : mixed
Return values
string

Search results