Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
FlashMessage Class Reference

Public Member Functions

 __construct (string $content, string $title=NULL, string $type='info', string $icon=null)
 
 setValues (string $content, string $title=NULL, string $type=NULL, string $icon=null)
 
 getContent ()
 
 getType ()
 
 getIcon ()
 
 setContent (string $content)
 
 setType (string $type)
 
 addType (string $type)
 
 setIcon (string $icon)
 
 getTitle ()
 
 setTitle (string $title)
 
 parseContent (array $keyValues)
 

Protected Attributes

string $title
 
string $content
 
string $type
 
string $icon
 

Detailed Description

Definition at line 5 of file FlashMessage.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $content,
string  $title = NULL,
string  $type = 'info',
string  $icon = null 
)

Definition at line 11 of file FlashMessage.php.

Member Function Documentation

◆ addType()

addType ( string  $type)

Definition at line 56 of file FlashMessage.php.

◆ getContent()

getContent ( )
Returns
string|null

Definition at line 24 of file FlashMessage.php.

◆ getIcon()

getIcon ( )
Returns
string|null

Definition at line 38 of file FlashMessage.php.

◆ getTitle()

getTitle ( )
Returns
string|null

Definition at line 69 of file FlashMessage.php.

◆ getType()

getType ( )
Returns
string

Definition at line 31 of file FlashMessage.php.

◆ parseContent()

parseContent ( array  $keyValues)

Definition at line 80 of file FlashMessage.php.

◆ setContent()

setContent ( string  $content)
Parameters
string$content

Definition at line 45 of file FlashMessage.php.

◆ setIcon()

setIcon ( string  $icon)
Parameters
string$icon

Definition at line 63 of file FlashMessage.php.

◆ setTitle()

setTitle ( string  $title)
Parameters
string$title

Definition at line 76 of file FlashMessage.php.

◆ setType()

setType ( string  $type)
Parameters
string$type

Definition at line 52 of file FlashMessage.php.

◆ setValues()

setValues ( string  $content,
string  $title = NULL,
string  $type = NULL,
string  $icon = null 
)

Definition at line 15 of file FlashMessage.php.

Field Documentation

◆ $content

string $content
protected

Definition at line 7 of file FlashMessage.php.

◆ $icon

string $icon
protected

Definition at line 9 of file FlashMessage.php.

◆ $title

string $title
protected

Definition at line 6 of file FlashMessage.php.

◆ $type

string $type
protected

Definition at line 8 of file FlashMessage.php.


The documentation for this class was generated from the following file: