function getItems() { global $lng; $this->determineOffsetAndOrder(); switch ($this->report) { case "exportSelectedCore": $tr_data = ilSCORMTrackingItems::exportSelectedCore($this->userSelected, $this->scosSelected, $this->bySCO, $this->allowExportPrivacy); break; case "exportSelectedRaw": $tr_data = ilSCORMTrackingItems::exportSelectedRaw($this->userSelected, $this->scosSelected, $this->bySCO, $this->allowExportPrivacy); break; case "exportSelectedInteractions": $tr_data = ilSCORMTrackingItems::exportSelectedInteractions($this->userSelected, $this->scosSelected, $this->bySCO, $this->allowExportPrivacy); break; case "exportSelectedObjectives": $tr_data = ilSCORMTrackingItems::exportSelectedObjectives($this->userSelected, $this->scosSelected, $this->bySCO, $this->allowExportPrivacy); break; case "tracInteractionItem": $tr_data = ilSCORMTrackingItems::tracInteractionItem($this->userSelected, $this->scosSelected, $this->bySCO, $this->allowExportPrivacy); break; case "tracInteractionUser": $tr_data = ilSCORMTrackingItems::tracInteractionUser($this->userSelected, $this->scosSelected, $this->bySCO, $this->allowExportPrivacy); break; case "tracInteractionUserAnswers": $tr_data = ilSCORMTrackingItems::tracInteractionUserAnswers($this->userSelected, $this->scosSelected, $this->bySCO, $this->allowExportPrivacy); break; case "exportSelectedSuccess": $tr_data = ilSCORMTrackingItems::exportSelectedSuccess($this->userSelected, $this->allowExportPrivacy); break; } $this->setMaxCount($tr_data["cnt"]); if (ilUtil::stripSlashes($this->getOrderField()) != "") { include_once "Services/Utilities/classes/class.ilStr.php"; $tr_data = ilUtil::stableSortArray($tr_data, ilUtil::stripSlashes($this->getOrderField()), ilUtil::stripSlashes($this->getOrderDirection())); } $this->setData($tr_data); }