1 | <?php |
||
30 | class Func_AbsencesAgent extends bab_functionality |
||
31 | { |
||
32 | public function getDescription() |
||
36 | |||
37 | /** |
||
38 | * Get agent by id_user |
||
39 | * @throws Exception if agent does not exists |
||
40 | * @return absences_Agent |
||
41 | */ |
||
42 | public function getAgent($id_user) |
||
49 | |||
50 | |||
51 | /** |
||
52 | * Set parameters for agent |
||
53 | * associate rights to agent according to collection |
||
54 | * if the agent does not exists, il will be created |
||
55 | * |
||
56 | * @param int $id_user |
||
57 | * @param int $id_collection |
||
58 | * @param int $id_sa Approval scheme |
||
59 | * @param int $id_sa_cet Optionnal approval scheme for time saving account |
||
60 | * @param int $id_sa_recover Optionnal approval scheme for work period recovery |
||
61 | * |
||
62 | * @throws Exception |
||
63 | * |
||
64 | */ |
||
65 | public function setAgent($id_user, $id_collection, $id_sa, $id_sa_cet = 0, $id_sa_recover = 0) |
||
72 | |||
73 | |||
74 | |||
75 | |||
76 | |||
77 | |||
78 | /** |
||
79 | * Remove agent and requests associted with it |
||
80 | */ |
||
81 | public function deleteAgent($id_user) |
||
86 | |||
87 | |||
88 | /** |
||
89 | * get the list of available collections as array |
||
90 | * @return array[absences_Collection] |
||
|
|||
91 | */ |
||
92 | public function getCollections() |
||
109 | |||
110 | /** |
||
111 | * Get the list of rights |
||
112 | * @return absences_Right[] |
||
113 | */ |
||
114 | public function getRightIterator() |
||
119 | |||
120 | } |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.