public function execute($request) { $request->setRequestFormat('xml'); $oai_local_identifier_value = $request->identifier; //TODO: strip the trailing integer value from the full OAI Identifier to get the OaiLocalIdentifier $oai_local_identifier_id = QubitOai::getOaiIdNumber($oai_local_identifier_value); $this->informationObject = QubitInformationObject::getRecordByOaiID($oai_local_identifier_id); $request->setAttribute('informationObject', $this->informationObject); // just cut-and-paste from OaiIdentify action for now $this->date = gmdate('Y-m-d\\TH:i:s\\Z'); $this->collectionsTable = QubitOai::getCollectionArray(); $this->path = $request->getUriPrefix() . $request->getPathInfo(); $this->attributes = $this->request->getGetParameters(); $this->attributesKeys = array_keys($this->attributes); $this->requestAttributes = ''; foreach ($this->attributesKeys as $key) { $this->requestAttributes .= ' ' . $key . '="' . $this->attributes[$key] . '"'; } }