1 | <?php |
||
20 | class Alarm extends Component |
||
21 | { |
||
22 | /** |
||
23 | * Alarm ACTION property. |
||
24 | * |
||
25 | * According to RFC 5545: 3.8.6.1. Action |
||
26 | * |
||
27 | * @see http://tools.ietf.org/html/rfc5545#section-3.8.6.1 |
||
28 | */ |
||
29 | const ACTION_AUDIO = 'AUDIO'; |
||
30 | const ACTION_DISPLAY = 'DISPLAY'; |
||
31 | const ACTION_EMAIL = 'EMAIL'; |
||
32 | |||
33 | protected $action; |
||
34 | protected $repeat; |
||
35 | protected $duration; |
||
36 | protected $description; |
||
37 | protected $attendee; |
||
38 | protected $trigger; |
||
39 | |||
40 | 1 | public function getType() |
|
44 | |||
45 | 1 | public function getAction() |
|
49 | |||
50 | 1 | public function getRepeat() |
|
54 | |||
55 | 1 | public function getDuration() |
|
59 | |||
60 | 1 | public function getDescription() |
|
64 | |||
65 | 1 | public function getAttendee() |
|
69 | |||
70 | 1 | public function getTrigger() |
|
74 | |||
75 | 2 | public function setAction($action) |
|
81 | |||
82 | 1 | public function setRepeat($repeat) |
|
88 | |||
89 | 1 | public function setDuration($duration) |
|
95 | |||
96 | 2 | public function setDescription($description) |
|
102 | |||
103 | 1 | public function setAttendee($attendee) |
|
109 | |||
110 | 2 | public function setTrigger($trigger) |
|
116 | |||
117 | /** |
||
118 | * {@inheritdoc} |
||
119 | */ |
||
120 | 7 | public function buildPropertyBag() |
|
150 | } |
||
151 |