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
|
@@ 210-220 (lines=11) @@
|
| 207 |
|
} |
| 208 |
|
|
| 209 |
|
|
| 210 |
|
private function getAgentDirValue(absences_Agent $agent, $fieldname) |
| 211 |
|
{ |
| 212 |
|
$direntry = $agent->getDirEntry(); |
| 213 |
|
|
| 214 |
|
if (isset($direntry[$fieldname])) |
| 215 |
|
{ |
| 216 |
|
return $direntry[$fieldname]['value']; |
| 217 |
|
} |
| 218 |
|
|
| 219 |
|
return ''; |
| 220 |
|
} |
| 221 |
|
|
| 222 |
|
|
| 223 |
|
/** |