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
|
@@ 294-304 (lines=11) @@
|
291 |
|
} |
292 |
|
|
293 |
|
|
294 |
|
private function getAgentDirValue(absences_Agent $agent, $fieldname) |
295 |
|
{ |
296 |
|
$direntry = $agent->getDirEntry(); |
297 |
|
|
298 |
|
if (isset($direntry[$fieldname])) |
299 |
|
{ |
300 |
|
return $direntry[$fieldname]['value']; |
301 |
|
} |
302 |
|
|
303 |
|
return ''; |
304 |
|
} |
305 |
|
|
306 |
|
|
307 |
|
/** |