| package |
Default |
|---|
__construct()
display(mixed $errors, string $class = 'alert alert-danger') : mixed
mixedError/s array
stringName of class to apply to div
mixedReturn div/s
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
mixedDefault value to use if key not found
mixedReturns 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
mixedDefault value to use if key not found
mixedReturns 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
mixedDefault value to use if key not found
mixedReturns 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
mixedDefault value to use if key not found
mixedReturns null if key does not exist
indexAction()
isDelete() : boolean
boolean
isGet() : boolean
boolean
isHead() : boolean
boolean
isOptions() : boolean
boolean
isPatch() : boolean
boolean
isPost() : boolean
boolean
isPut() : boolean
boolean
redirect(string $url)
stringthe url to redirect to
setControllerName( $val)
_error :
view :
language :
name :
config :
flashMessage :