Exemplo n.º 1
0
 public function getKnownUnworkablesUpdateSingle($entity, $key)
 {
     $result = parent::getKnownUnworkablesUpdateSingle($entity, $key);
     $extras = array('HRAbsencePeriod' => array('cant_update' => array('start_date', 'end_date')));
     if (isset($extras[$entity][$key])) {
         return array_merge($result, $extras[$entity][$key]);
     } else {
         return $result;
     }
 }