Line 89... |
Line 89... |
89 |
$donnees = array();
|
89 |
$donnees = array();
|
90 |
$donnees['guid'] = htmlspecialchars($this->creerUrlService());
|
90 |
$donnees['guid'] = htmlspecialchars($this->creerUrlService());
|
91 |
$donnees['titre'] = 'identiPlante : commentaires et propositions';
|
91 |
$donnees['titre'] = 'identiPlante : commentaires et propositions';
|
92 |
$donnees['description'] = 'Ce flux regroupe les dernières déterminations et commentaires rédigés dans l\'application identiPlante';
|
92 |
$donnees['description'] = 'Ce flux regroupe les dernières déterminations et commentaires rédigés dans l\'application identiPlante';
|
93 |
$donnees['lien_service'] = htmlspecialchars($this->creerUrlService());
|
93 |
$donnees['lien_service'] = htmlspecialchars($this->creerUrlService());
|
94 |
$donnees['lien_del'] = $this->conteneur->getParametre('delAppliLien');
|
94 |
$donnees['lien_del'] = $this->conteneur->getParametre('obsAppliLien');
|
95 |
$donnees['editeur'] = $this->conteneur->getParametre('editeur');
|
95 |
$donnees['editeur'] = $this->conteneur->getParametre('editeur');
|
96 |
$derniere_info_en_date = reset($infos);
|
96 |
$derniere_info_en_date = reset($infos);
|
97 |
$date_modification_timestamp = $this->convertirDateHeureMysqlEnTimestamp($derniere_info_en_date['date']);
|
97 |
$date_modification_timestamp = $this->convertirDateHeureMysqlEnTimestamp($derniere_info_en_date['date']);
|
98 |
$donnees['date_maj_RSS'] = date(DATE_RSS, $date_modification_timestamp);
|
98 |
$donnees['date_maj_RSS'] = date(DATE_RSS, $date_modification_timestamp);
|
99 |
$donnees['date_maj_ATOM'] = date(DATE_ATOM, $date_modification_timestamp);
|
99 |
$donnees['date_maj_ATOM'] = date(DATE_ATOM, $date_modification_timestamp);
|
Line 158... |
Line 158... |
158 |
}
|
158 |
}
|
159 |
return $auteur;
|
159 |
return $auteur;
|
160 |
}
|
160 |
}
|
Line 161... |
Line 161... |
161 |
|
161 |
|
162 |
private function creerGuidItem($element) {
|
162 |
private function creerGuidItem($element) {
|
163 |
$guid = sprintf($this->conteneur->getParametre('guidObsTpl'), $element['id_commentaire']);
|
163 |
$guid = sprintf($this->conteneur->getParametre('commentaireGuidTpl'), $element['id_commentaire']);
|
164 |
return $guid;
|
164 |
return $guid;
|
Line 165... |
Line 165... |
165 |
}
|
165 |
}
|
166 |
|
166 |
|
167 |
private function creerLienItem($element) {
|
167 |
private function creerLienItem($element) {
|
168 |
$lien = sprintf($this->conteneur->getParametre('delFicheObsTpl'), $element['dob_id_observation']);
|
168 |
$lien = sprintf($this->conteneur->getParametre('obsFicheTpl'), $element['dob_id_observation']);
|
Line 169... |
Line 169... |
169 |
return $lien;
|
169 |
return $lien;
|
170 |
}
|
170 |
}
|