Subversion Repositories eFlore/Applications.cel

Rev

Rev 3925 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3925 Rev 3939
Line 110... Line 110...
110
                        $obsAAjouter['user_sci_name'] = isset($obs['nom_sel']) ? $obs['nom_sel'] : null;
110
                        $obsAAjouter['user_sci_name'] = isset($obs['nom_sel']) ? $obs['nom_sel'] : null;
111
                        $obsAAjouter['user_sci_name_id'] = isset($obs['num_nom_sel']) && '' !== $obs['num_nom_sel'] ? $obs['num_nom_sel'] : null;
111
                        $obsAAjouter['user_sci_name_id'] = isset($obs['num_nom_sel']) && '' !== $obs['num_nom_sel'] ? $obs['num_nom_sel'] : null;
112
                        $obsAAjouter['accepted_sci_name'] = isset($obs['nom_ret']) ? $obs['nom_ret'] : null;
112
                        $obsAAjouter['accepted_sci_name'] = isset($obs['nom_ret']) ? $obs['nom_ret'] : null;
113
                        $obsAAjouter['accepted_sci_name_id'] = isset($obs['num_nom_ret']) && '' !== $obs['num_nom_ret'] ? $obs['num_nom_ret'] : null;
113
                        $obsAAjouter['accepted_sci_name_id'] = isset($obs['num_nom_ret']) && '' !== $obs['num_nom_ret'] ? $obs['num_nom_ret'] : null;
114
                        $obsAAjouter['family'] = isset($obs['famille']) ? $obs['famille'] : null;
114
                        $obsAAjouter['family'] = isset($obs['famille']) ? $obs['famille'] : null;
115
                        $obsAAjouter['taxo_repo'] = isset($obs['referentiel']) ? ($obs['referentiel'] == 'bdtfxr') ? 'bdtfx' : $obs['referentiel'] : null;
115
                        $obsAAjouter['taxo_repo'] = isset($obs['referentiel']) ? ($obs['referentiel'] == 'bdtfxr') ? 'bdtfx' : 
-
 
116
                            ($obs['referentiel'] == 'autre') ? 'Autre/inconnu' : $obs['referentiel'] : null;
Line 116... Line 117...
116
 
117
 
117
                        $obsAAjouter['date_observed'] = $this->transormerDateFrVersMysql($obs['date']);
118
                        $obsAAjouter['date_observed'] = $this->transormerDateFrVersMysql($obs['date']);
Line 118... Line 119...
118
                        $obsAAjouter['annotation'] = isset($obs['notes']) && trim($obs['notes']) !== "" ? $obs['notes'] : null;
119
                        $obsAAjouter['annotation'] = isset($obs['notes']) && trim($obs['notes']) !== "" ? $obs['notes'] : null;