Notice_Model Class Reference

An immutable representation of a Notice. More...

Inheritance diagram for Notice_Model:
ErrorNotice_Model InformationNotice_Model SuccessNotice_Model WarningNotice_Model

Public Member Functions

 __construct ($message)
 Constructs the notice.
 get_message ()
 Gets the notice message as a string.
 get_typename ()
 Get the rendereable typename as a string.

Detailed Description

An immutable representation of a Notice.


Constructor & Destructor Documentation

Notice_Model::__construct ( message  ) 

Constructs the notice.

Exceptions:
NoticeException 
Parameters:
$message string The message the notice contains

Member Function Documentation

Notice_Model::get_message (  ) 

Gets the notice message as a string.

Returns:
string
Notice_Model::get_typename (  )  [abstract]

Get the rendereable typename as a string.

Returns:
string

Reimplemented in ErrorNotice_Model, InformationNotice_Model, SuccessNotice_Model, and WarningNotice_Model.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 19 Dec 2018 for ninja by  doxygen 1.6.1