| 1 | <?php |
||
| 8 | abstract class Messages extends Widget |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected static $sessionName; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $messageView; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Get content as a string of HTML. |
||
| 22 | * |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | public function toHtml() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string|array |
||
| 34 | */ |
||
| 35 | public function template() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function block() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getMessageView() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param string $messageView |
||
| 58 | */ |
||
| 59 | public function setMessageView($messageView) |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return mixed |
||
| 66 | */ |
||
| 67 | protected function getMessage() |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @param string $text |
||
| 74 | * @return mixed |
||
| 75 | */ |
||
| 76 | public static function addMessage($text) |
||
| 80 | } |
||
| 81 |