Ubiquity
2.0.3
php rapid development framework
|
Bag for Session Flash messages. More...
Public Member Functions | |
__construct () | |
addMessage ($content, $title=NULL, $type="info", $icon=null) | |
getMessages ($type) | |
getAll () | |
clear () | |
rewind () | |
current () | |
key () | |
next () | |
valid () | |
save () | |
Data Fields | |
const | FLASH_BAG_KEY ="_flash_bag" |
Private Attributes | |
$array | |
$position | |
Bag for Session Flash messages.
Definition at line 12 of file FlashBag.php.
__construct | ( | ) |
Definition at line 17 of file FlashBag.php.
addMessage | ( | $content, | |
$title = NULL , |
|||
$type = "info" , |
|||
$icon = null |
|||
) |
Definition at line 22 of file FlashBag.php.
clear | ( | ) |
Definition at line 39 of file FlashBag.php.
current | ( | ) |
Definition at line 47 of file FlashBag.php.
getAll | ( | ) |
Definition at line 35 of file FlashBag.php.
getMessages | ( | $type | ) |
Definition at line 26 of file FlashBag.php.
key | ( | ) |
Definition at line 51 of file FlashBag.php.
next | ( | ) |
Definition at line 55 of file FlashBag.php.
rewind | ( | ) |
Definition at line 43 of file FlashBag.php.
save | ( | ) |
Definition at line 63 of file FlashBag.php.
valid | ( | ) |
Definition at line 59 of file FlashBag.php.
|
private |
Definition at line 14 of file FlashBag.php.
|
private |
Definition at line 15 of file FlashBag.php.
const FLASH_BAG_KEY ="_flash_bag" |
Definition at line 13 of file FlashBag.php.