Lines Matching refs:a_set

198     protected function fillRow($a_set)  argument
206 $this->tpl->setVariable("OBJ_ID", $a_set["obj_id"]);
210 $this->tpl->setVariable("ICON_SRC", ilObject::_getIcon("", "tiny", $a_set["type"]));
211 $this->tpl->setVariable("ICON_ALT", $this->lng->txt($a_set["type"]));
212 $this->tpl->setVariable("TITLE_TEXT", $a_set["title"]);
214 if ($a_set["offline"]) {
221 …$this->tpl->setVariable("STATUS_ALT", ilLearningProgressBaseGUI::_getStatusText($a_set["status"]));
222 …pl->setVariable("STATUS_IMG", ilLearningProgressBaseGUI::_getImagePathForStatus($a_set["status"]));
225 $this->tpl->setVariable('SCORE_VAL', $a_set["score"]);
229 …able('STATUS_CHANGED_VAL', ilDatePresentation::formatDate(new ilDateTime($a_set['status_changed'],…
231 $olp = ilObjectLP::getInstance($a_set["obj_id"]);
232 $this->tpl->setVariable("MODE_TEXT", $olp->getModeText($a_set["u_mode"]));
233 $this->tpl->setVariable("MARK_VALUE", $a_set["mark"]);
234 $this->tpl->setVariable("COMMENT_TEXT", $a_set["comment"]);
236 if ($a_set["percentage"] < 0) {
239 $this->tpl->setVariable("PERCENTAGE_VALUE", sprintf("%d%%", $a_set["percentage"]));
243 $path = $this->buildPath($a_set["ref_ids"]);
258 if ($a_set["status"] != ilLPStatus::LP_STATUS_COMPLETED_NUM && $a_set["ref_ids"]) {
259 $ref_id = $a_set["ref_ids"];
278 $ilCtrl->setParameterByClass(get_class($this), 'hide', $a_set["obj_id"]);
283 $olp = ilObjectLP::getInstance($a_set["obj_id"]);
284 if ($olp->getCollectionInstance() && $a_set["ref_ids"]) {
285 $ref_id = $a_set["ref_ids"];
315 protected function fillRowExcel(ilExcel $a_excel, &$a_row, $a_set) argument
317 $a_excel->setCell($a_row, 0, $this->lng->txt($a_set["type"]));
318 $a_excel->setCell($a_row, 1, $a_set["title"]);
319 $a_excel->setCell($a_row, 2, ilLearningProgressBaseGUI::_getStatusText($a_set["status"]));
321 $a_excel->setCell($a_row, 3, new ilDateTime($a_set['status_changed'], IL_CAL_DATETIME));
326 $a_excel->setCell($a_row, 4, $a_set["percentage"] . "%");
328 $a_excel->setCell($a_row, 5, $a_set["mark"]);
329 $a_excel->setCell($a_row, 6, $a_set["comment"]);
330 $a_excel->setCell($a_row, 7, ilLPObjSettings::_mode2Text($a_set["u_mode"]));
347 protected function fillRowCSV($a_csv, $a_set) argument
349 $a_csv->addColumn($this->lng->txt($a_set["type"]));
350 $a_csv->addColumn($a_set["title"]);
351 $a_csv->addColumn(ilLearningProgressBaseGUI::_getStatusText($a_set["status"]));
354 …$a_csv->addColumn(ilDatePresentation::formatDate(new ilDateTime($a_set['status_changed'], IL_CAL_D…
357 if (!$this->isPercentageAvailable($a_set['obj_id'])) {
360 $a_csv->addColumn(sprintf("%d%%", $a_set["percentage"]));
362 $a_csv->addColumn($a_set["mark"]);
363 $a_csv->addColumn($a_set["comment"]);
364 $a_csv->addColumn(ilLPObjSettings::_mode2Text($a_set["u_mode"]));