Handler
Table of Contents
- $error : mixed
- $msgs : mixed
- all() : resource
- Get all error msgs.
- get() : resource
- Get the error msg.
- getMsgs() : resource
- Get the msgs.
- has() : resource
- check Whether the any error msg exists.
- pushMsgs() : void
- Push the messages.
- set() : void
- Set the error msg.
Properties
$error
private
static mixed
$error
= []
$msgs
private
static mixed
$msgs
= []
Methods
all()
Get all error msgs.
public
static all() : resource
Return values
resource —get()
Get the error msg.
public
get([ $key = null ]) : resource
Parameters
Return values
resource —getMsgs()
Get the msgs.
public
static getMsgs() : resource
Return values
resource —has()
check Whether the any error msg exists.
public
static has() : resource
Return values
resource —pushMsgs()
Push the messages.
public
static pushMsgs() : void
Return values
void —set()
Set the error msg.
public
static set( $error[, mixed $key = null ]) : void