| @@ 110-118 (lines=9) @@ | ||
| 107 | /** |
|
| 108 | * |
|
| 109 | */ |
|
| 110 | function absences_getEntites() |
|
| 111 | { |
|
| 112 | $id_chart = absences_getVacationOption('id_chart'); |
|
| 113 | $org = new bab_OrgChartUtil($id_chart); |
|
| 114 | if (!$org->isAccessValid()) { |
|
| 115 | return array(); |
|
| 116 | } |
|
| 117 | return bab_OCGetEntities($id_chart); |
|
| 118 | } |
|
| 119 | ||
| 120 | /** |
|
| 121 | * |
|
| @@ 124-132 (lines=9) @@ | ||
| 121 | * |
|
| 122 | * @param int $ide |
|
| 123 | */ |
|
| 124 | function absences_getChildsEntities($ide) |
|
| 125 | { |
|
| 126 | $id_chart = absences_getVacationOption('id_chart'); |
|
| 127 | $org = new bab_OrgChartUtil($id_chart); |
|
| 128 | if (!$org->isAccessValid()) { |
|
| 129 | return array(); |
|
| 130 | } |
|
| 131 | return bab_OCGetChildsEntities($ide, $id_chart); |
|
| 132 | } |
|
| 133 | ||
| 134 | ||
| 135 | ||