@@ 139-153 (lines=15) @@ | ||
136 | } |
|
137 | ||
138 | ||
139 | private function getRequestIterator($status) |
|
140 | { |
|
141 | $I = new absences_EntryIterator(); |
|
142 | $I->from = $this->dateb->getIsoDateTime(); |
|
143 | $I->to = $this->datee->getIsoDateTime(); |
|
144 | ||
145 | if($this->organization){ |
|
146 | $I->organization = (int) $this->organization ; |
|
147 | } |
|
148 | ||
149 | ||
150 | $I->status = $status; |
|
151 | ||
152 | return $I; |
|
153 | } |
|
154 | ||
155 | ||
156 | ||
@@ 157-170 (lines=14) @@ | ||
154 | ||
155 | ||
156 | ||
157 | private function getRequestTypeIterator($status) |
|
158 | { |
|
159 | $I = new absences_ElementEntryIterator(); |
|
160 | $I->from = $this->dateb->getIsoDateTime(); |
|
161 | $I->to = $this->datee->getIsoDateTime(); |
|
162 | ||
163 | if($this->organization ){ |
|
164 | $I->organization = (int) $this->organization ; |
|
165 | } |
|
166 | ||
167 | $I->status = $status; |
|
168 | ||
169 | return $I; |
|
170 | } |
|
171 | ||
172 | ||
173 | private function arr_csv(&$value) |