Hi,
and sorry about really newbie question.
$item->value(‘dcterms:creator’) gives me only the first value, right? But what if there are multiple creators? How can I loop through these values or get them as array?
Best,
Ari
Hi,
and sorry about really newbie question.
$item->value(‘dcterms:creator’) gives me only the first value, right? But what if there are multiple creators? How can I loop through these values or get them as array?
Best,
Ari
You can add the option "all" = true
:
$item->value(‘dcterms:creator’, ['all' => true, 'default' => []]);