\Notification_Handler

Class Notification_Handler

Summary

Methods
Properties
Constants
__construct()
load()
addMessage()
addInfo()
addSuccess()
addWarning()
addError()
getMessages()
clearMessages()
No public properties found
No constants found
No protected methods found
$_iSessionLifetime
$_sSessionPath
N/A
_getKey()
$_oNotificationHandler
$_bNotificationHandler
$_aDefaultSession
N/A

Properties

$_iSessionLifetime

$_iSessionLifetime : 

Type

$_sSessionPath

$_sSessionPath : 

Type

$_oNotificationHandler

$_oNotificationHandler : 

Type

$_bNotificationHandler

$_bNotificationHandler : 

Type

$_aDefaultSession

$_aDefaultSession : 

Type

Methods

__construct()

__construct() : $this

__construct()

Returns

$this

load()

load() : $this|boolean

load()

Singleton to secure to create only one instance of this class.

Returns

$this|boolean

addMessage()

addMessage(string  $sNotice, integer  $iKey) : mixed|boolean

addMessage()

Parameters

string $sNotice
integer $iKey

Returns

mixed|boolean

addInfo()

addInfo(string  $sNotice) : array

addInfo()

Parameters

string $sNotice

Returns

array

addSuccess()

addSuccess(string  $sNotice) : array

addSuccess()

Parameters

string $sNotice

Returns

array

addWarning()

addWarning(string  $sNotice) : array

addWarning()

Parameters

string $sNotice

Returns

array

addError()

addError(string  $sNotice) : array

addError()

Parameters

string $sNotice

Returns

array

getMessages()

getMessages(  $sType = FALSE) : array

getMessages()

Parameters

$sType

Returns

array

clearMessages()

clearMessages(  $sType = FALSE) : boolean

clearMessages()

Parameters

$sType

Returns

boolean

_getKey()

_getKey(  $sType = FALSE) : integer

_getKey()

Parameters

$sType

Returns

integer