programs/utilit/csv.class.php 1 location
|
@@ 99-109 (lines=11) @@
|
96 |
|
/** |
97 |
|
* @return string |
98 |
|
*/ |
99 |
|
protected function getAgentDirValue(absences_Agent $agent, $fieldname) |
100 |
|
{ |
101 |
|
$direntry = $agent->getDirEntry(); |
102 |
|
|
103 |
|
if (isset($direntry[$fieldname])) |
104 |
|
{ |
105 |
|
return $direntry[$fieldname]['value']; |
106 |
|
} |
107 |
|
|
108 |
|
return ''; |
109 |
|
} |
110 |
|
|
111 |
|
|
112 |
|
|
programs/utilit/exportentry.class.php 1 location
|
@@ 289-299 (lines=11) @@
|
286 |
|
} |
287 |
|
|
288 |
|
|
289 |
|
private function getAgentDirValue(absences_Agent $agent, $fieldname) |
290 |
|
{ |
291 |
|
$direntry = $agent->getDirEntry(); |
292 |
|
|
293 |
|
if (isset($direntry[$fieldname])) |
294 |
|
{ |
295 |
|
return $direntry[$fieldname]['value']; |
296 |
|
} |
297 |
|
|
298 |
|
return ''; |
299 |
|
} |
300 |
|
|
301 |
|
|
302 |
|
/** |