Skip to content
Snippets Groups Projects
Commit c096bc31 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

Bibnum: auteurs multiples dans un album, correction moissonnages auteurs ArteVOD

parent 4b962889
Branches
Tags
No related merge requests found
......@@ -36,10 +36,12 @@ class Class_WebService_BibNumerique_ArteVOD_Film extends Class_WebService_BibNu
public function fillAlbum($album) {
$album->beArteVOD()
->setAuteur(implode(', ', $this->getAuthors()))
->setDuration($this->duration.' min')
->setTags($this->getTags());
foreach ($this->getAuthors() as $author)
$album->addAuthor($author);
foreach ($this->getActors() as $actor)
$album->addAuthor(trim($actor->last_name . ' ' . $actor->first_name),
'005');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment