1 | <?php |
||
8 | class DutyList |
||
9 | { |
||
10 | private $duty; |
||
11 | |||
12 | public function __construct($duty) |
||
19 | |||
20 | public function htmlOutput() |
||
21 | { |
||
22 | return $this->processedList()->htmlOutput(); |
||
23 | } |
||
24 | |||
25 | public function scheduledUpdate() |
||
32 | |||
33 | public function emailOutput() |
||
34 | { |
||
35 | $userGroup = $this->processedList(); |
||
36 | |||
37 | return $userGroup->emailOutput(); |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @param array $dateArray |
||
42 | * @param array $IDArray |
||
43 | * @param string $type |
||
44 | */ |
||
45 | public function processSwapRequest(array $dateArray, array $IDArray, $type) |
||
60 | |||
61 | private function processedList() |
||
69 | |||
70 | /** |
||
71 | * @param $date |
||
72 | * @param $ID |
||
73 | * @param $type |
||
74 | */ |
||
75 | private function createDutySwap($date, $ID, $type) |
||
84 | } |
||
85 |