protected function parseData() { $this->determineOffsetAndOrder(); $this->determineLimit(); $xdglRequestList = ilUserSetting::getCollection(); $xdglRequestList->orderBy($this->getOrderField(), $this->getOrderDirection()); $xdglRequestList->innerjoin('object_data', 'global_role', 'obj_id', array('title')); foreach ($this->filter as $field => $value) { if ($value) { $xdglRequestList->where(array($field => $value)); } } $this->setMaxCount($xdglRequestList->count()); if (!$xdglRequestList->hasSets()) { // ilUtil::sendInfo('Keine Ergebnisse für diesen Filter'); } $xdglRequestList->limit($this->getOffset(), $this->getOffset() + $this->getLimit()); $xdglRequestList->orderBy('title'); $a_data = $xdglRequestList->getArray(); if (ilUserDefaultsPlugin::is50()) { $img_on = ilUtil::img(ilUtil::getImagePath('icon_ok.svg')); $img_off = ilUtil::img(ilUtil::getImagePath('icon_not_ok.svg')); } else { $img_on = ilUtil::img(ilUtil::getImagePath('icon_led_on_s.png')); $img_off = ilUtil::img(ilUtil::getImagePath('icon_led_off_s.png')); } foreach ($a_data as $k => $d) { $a_data[$k]['status_image'] = $d['status'] == ilUserSetting::STATUS_ACTIVE ? $img_on : $img_off; } $this->setData($a_data); }