public function GetRegistrationResultUrl($registrationId, $resultsFormat, $dataFormat) { $enum = new Enum(); $request = new ServiceRequest($this->_configuration); $params = array('regid' => $registrationId, 'resultsformat' => $enum->getRegistrationResultsFormat($resultsFormat), 'dataformat' => $enum->getDataFormat($dataFormat)); $request->setMethodParams($params); return $request->ConstructUrl("rustici.registration.getRegistrationResult"); }
public function GetRegistrationListResults($courseId, $learnerId, $resultsFormat) { $enum = new Enum(); $request = new ServiceRequest($this->_configuration); $params = array(); if (isset($courseId)) { $params['courseid'] = $courseId; } if (isset($learnerId)) { $params['learnerid'] = $learnerId; } if (isset($resultsFormat)) { $params['resultsformat'] = $enum->getRegistrationResultsFormat($resultsFormat); } $request->setMethodParams($params); $response = $request->CallService("rustici.registration.getRegistrationListResults"); return $response; }