| 1 | <?php |
||
| 5 | class FlashMessage { |
||
| 6 | protected $title; |
||
| 7 | protected $content; |
||
| 8 | protected $type; |
||
| 9 | protected $icon; |
||
| 10 | |||
| 11 | public function __construct($content,$title=NULL,$type="info",$icon=null){ |
||
| 14 | |||
| 15 | public function setValues($content,$title=NULL,$type=NULL,$icon=null){ |
||
| 24 | /** |
||
| 25 | * @return mixed |
||
| 26 | */ |
||
| 27 | public function getContent() { |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return mixed |
||
| 33 | */ |
||
| 34 | public function getType() { |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return mixed |
||
| 40 | */ |
||
| 41 | public function getIcon() { |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param mixed $content |
||
| 47 | */ |
||
| 48 | public function setContent($content) { |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param mixed $type |
||
| 54 | */ |
||
| 55 | public function setType($type) { |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @param mixed $icon |
||
| 61 | */ |
||
| 62 | public function setIcon($icon) { |
||
| 65 | /** |
||
| 66 | * @return mixed |
||
| 67 | */ |
||
| 68 | public function getTitle() { |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @param mixed $title |
||
| 74 | */ |
||
| 75 | public function setTitle($title) { |
||
| 78 | |||
| 79 | public function parseContent($keyValues){ |
||
| 87 | |||
| 88 | |||
| 89 | } |
||
| 90 | |||
| 91 |