/**
  * Get user items
  */
 function getItems()
 {
     global $lng;
     $this->determineOffsetAndOrder();
     include_once "./Services/Tracking/classes/class.ilTrQuery.php";
     $additional_fields = $this->getSelectedColumns();
     // only if object is [part of] course/group
     $check_agreement = false;
     if ($this->in_course) {
         // privacy (if course agreement is activated)
         include_once "Services/PrivacySecurity/classes/class.ilPrivacySettings.php";
         $privacy = ilPrivacySettings::_getInstance();
         if ($privacy->courseConfirmationRequired()) {
             $check_agreement = $this->in_course;
         }
     } else {
         if ($this->in_group) {
             // privacy (if group agreement is activated)
             include_once "Services/PrivacySecurity/classes/class.ilPrivacySettings.php";
             $privacy = ilPrivacySettings::_getInstance();
             if ($privacy->groupConfirmationRequired()) {
                 $check_agreement = $this->in_group;
             }
         }
     }
     $tr_data = ilTrQuery::getUserDataForObject($this->ref_id, ilUtil::stripSlashes($this->getOrderField()), ilUtil::stripSlashes($this->getOrderDirection()), ilUtil::stripSlashes($this->getOffset()), ilUtil::stripSlashes($this->getLimit()), $this->getCurrentFilter(), $additional_fields, $check_agreement, $this->user_fields);
     if (count($tr_data["set"]) == 0 && $this->getOffset() > 0) {
         $this->resetOffset();
         $tr_data = ilTrQuery::getUserDataForObject($this->ref_id, ilUtil::stripSlashes($this->getOrderField()), ilUtil::stripSlashes($this->getOrderDirection()), ilUtil::stripSlashes($this->getOffset()), ilUtil::stripSlashes($this->getLimit()), $this->getCurrentFilter(), $additional_fields, $check_agreement, $this->user_fields);
     }
     $this->setMaxCount($tr_data["cnt"]);
     $this->setData($tr_data["set"]);
 }