| @@ 74-84 (lines=11) @@ | ||
| 71 | /** |
|
| 72 | * @return string |
|
| 73 | */ |
|
| 74 | protected function getAgentDirValue(absences_Agent $agent, $fieldname) |
|
| 75 | { |
|
| 76 | $direntry = $agent->getDirEntry(); |
|
| 77 | ||
| 78 | if (isset($direntry[$fieldname])) |
|
| 79 | { |
|
| 80 | return $direntry[$fieldname]['value']; |
|
| 81 | } |
|
| 82 | ||
| 83 | return ''; |
|
| 84 | } |
|
| 85 | ||
| 86 | ||
| 87 | ||
| @@ 207-217 (lines=11) @@ | ||
| 204 | } |
|
| 205 | ||
| 206 | ||
| 207 | private function getAgentDirValue(absences_Agent $agent, $fieldname) |
|
| 208 | { |
|
| 209 | $direntry = $agent->getDirEntry(); |
|
| 210 | ||
| 211 | if (isset($direntry[$fieldname])) |
|
| 212 | { |
|
| 213 | return $direntry[$fieldname]['value']; |
|
| 214 | } |
|
| 215 | ||
| 216 | return ''; |
|
| 217 | } |
|
| 218 | ||
| 219 | ||
| 220 | /** |
|