package |
Default |
---|
__construct()
getClientIp(boolean $checkProxy = true) : string
boolean
string
getControllerName() : string
string
getCookie(string $key = null, mixed $default = null) : mixed
If no $key is passed, returns the entire $_COOKIE array.
string
mixed
Default value to use if key not found
mixed
Returns null if key does not exist
getMethod() : string
string
getParam(string $key = null, mixed $default = null) : mixed
If no $key is passed, returns the entire $_GET array.
string
mixed
Default value to use if key not found
mixed
Returns null if key does not exist
getPost(string $key = null, mixed $default = null) : mixed
If no $key is passed, returns the entire $_POST array.
string
mixed
Default value to use if key not found
mixed
Returns null if key does not exist
getServer(string $key = null, mixed $default = null) : mixed
If no $key is passed, returns the entire $_SERVER array.
string
mixed
Default value to use if key not found
mixed
Returns null if key does not exist
isDelete() : boolean
boolean
isGet() : boolean
boolean
isHead() : boolean
boolean
isOptions() : boolean
boolean
isPatch() : boolean
boolean
isPost() : boolean
boolean
isPut() : boolean
boolean
redirect(string $url)
string
the url to redirect to
setControllerName( $val)
view :
language :
name :
config :
flashMessage :