public function process() { parent::process(); $record = $this->doc->first('./p:PrimoNMBib/p:record'); $this->brief['id'] = $record->text('./p:control/p:recordid'); $this->full['source'] = $record->text('./p:control/p:sourcesystem'); if ($this->full['source'] == 'Alma') { $this->full['alma_id'] = $record->text('./p:control/p:addsrcrecordid'); } $getits = $this->doc->all('./sear:GETIT'); $this->full['components'] = $this->extractComponents($record, $getits, $this->primoInst, $this->almaInst); $this->brief['status'] = ['print' => $this->hasPrint($this->full), 'electronic' => $this->hasElectronic($this->full), 'digital' => $this->hasDigital($this->full)]; return $this; }
public function process() { parent::process(); $this->brief['id'] = $this->doc->text('./p:PrimoNMBib/p:record/p:facets/p:frbrgroupid'); return $this; }