Library
Interfaces, Classes, Traits and Enums
- Config
- Parse and return .env configuration properties
- Log
- Logs Manager
- Router
- URIVariables
- Variables in the URI
Table of Contents
- reqVar() : string|int|float
- Returns URI variables
- json() : void
- Returns json output
- xml() : void
- Returns xml output
- render() : void
- Render html view
Functions
reqVar()
Returns URI variables
reqVar(mixed $key) : string|int|float
@param string $key
Parameters
- $key : mixed
Return values
string|int|float —json()
Returns json output
json(mixed $data, int $statusCode) : void
@param int|string|array|double $data
Parameters
- $data : mixed
- $statusCode : int
Return values
void —xml()
Returns xml output
xml(mixed $data, int $statusCode) : void
@param int|string|array|double $data
Parameters
- $data : mixed
- $statusCode : int
Return values
void —render()
Render html view
render(mixed $view[, array<string|int, mixed> $data = array() ]) : void
@param string $view
Parameters
- $view : mixed
- $data : array<string|int, mixed> = array()