1 | <?php |
||
16 | class MPNSToast extends MPNSBase |
||
17 | { |
||
18 | const MESSAGE_TYPE = 'toast'; |
||
19 | |||
20 | const DELAY_INTERVAL_IMMEDIATE = 2; |
||
21 | const DELAY_INTERVAL_450 = 12; |
||
22 | const DELAY_INTERVAL_900 = 22; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | private $text1; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | private $text2; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | private $param; |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getParam() |
||
46 | |||
47 | /** |
||
48 | * @param string $param |
||
49 | * @return $this |
||
50 | */ |
||
51 | public function setParam($param) |
||
56 | |||
57 | /** |
||
58 | * @return string |
||
59 | */ |
||
60 | public function getText1() |
||
64 | |||
65 | /** |
||
66 | * @param string $text1 |
||
67 | * @return $this |
||
68 | */ |
||
69 | public function setText1($text1) |
||
74 | |||
75 | /** |
||
76 | * @return string |
||
77 | */ |
||
78 | public function getText2() |
||
82 | |||
83 | /** |
||
84 | * @param string $text2 |
||
85 | * @return $this |
||
86 | */ |
||
87 | public function setText2($text2) |
||
92 | } |
||
93 |