TiqHelper
in package
Table of Contents
- httpNoCacheResponse() : mixed
- httpResponse() : mixed
- parseSQLError() : array<string|int, mixed>
- Parse SQL Error Message
- renderLoader() : void|string
- Render TIQ Loading Bulb
Methods
httpNoCacheResponse()
public
static httpNoCacheResponse() : mixed
Return values
mixed —httpResponse()
public
static httpResponse(mixed $data[, mixed $toJson = true ][, mixed $noCache = true ]) : mixed
Parameters
- $data : mixed
- $toJson : mixed = true
- $noCache : mixed = true
Return values
mixed —parseSQLError()
Parse SQL Error Message
public
static parseSQLError(string $message[, bool $includeSeparators = false ]) : array<string|int, mixed>
Parameters
- $message : string
-
Error message
- $includeSeparators : bool = false
-
Incluce separators in parse result or not
Return values
array<string|int, mixed> —Parse result array
renderLoader()
Render TIQ Loading Bulb
public
static renderLoader([bool $raw = false ]) : void|string
Parameters
- $raw : bool = false
-
Get Raw content or not