equal
deleted
inserted
replaced
132 return $this->transcript; |
132 return $this->transcript; |
133 } |
133 } |
134 |
134 |
135 public function getContributors() { |
135 public function getContributors() { |
136 if(is_null($this->contributors)) { |
136 if(is_null($this->contributors)) { |
|
137 $roleList = CocoonUtils::OLAC_ROLES; |
|
138 array_push($roleList, 'http://purl.org/dc/elements/1.1/creator'); |
137 $this->contributors = array_reduce( |
139 $this->contributors = array_reduce( |
138 CocoonUtils::OLAC_ROLES, |
140 $roleList, |
139 function($res, $olacRole) { |
141 function($res, $olacRole) { |
140 return array_merge( |
142 return array_merge( |
141 $res, |
143 $res, |
142 array_map( |
144 array_map( |
143 function($olacValue) use ($olacRole) { |
145 function($olacValue) use ($olacRole) { |