dev #73934 : explo bibliondemand , cosmogrammme can handle bibliondemand xml file
2 unresolved threads
Merge request reports
Activity
Filter activity
added 1 commit
- 7a3a4a6c - dev #73934 : retrocompatibility bibliondemand
210 202 211 203 public function __construct($file, $position, $profil) { 212 204 parent::__construct($file, $position, $profil); 213 if (!$this->isValid()) 214 return; 215 205 216 $data = $profil->getAttributs(); 206 $data = $this->_profil->getAttributs(); 217 207 $attributs = unserialize($data); 218 $this->_xml_separator = $attributs[5]['xml_balise_abonne']; 219 if (!$this->_xml_separator) { 220 $this->_errors[] = 'La balise Xml qui sépare les enregistrements n\'est pas définie.'; 221 } 208 209 if (array_key_exists(5, $attributs) 5 devient une constante
Edited by Ghislain Loaschanged this line in version 8 of the diff
53 61 ->visitDescriptions($this->_datas['rights']) 54 62 ->visitDescriptions($this->_datas['relation']) 55 63 ->visitYear($this->_datas['date']) 56 ->visitLanguageId(reset($this->_datas['language'])) 64 ->visitLanguageId($first_language) 57 65 ->visitMatiere(implode(';', $this->_datas['matiere'])) 58 66 ->visitEditors($this->_datas['editeur']) 59 67 ->visitItems($this->_getItem())