4 include_once
'./Services/Table/classes/class.ilTable2GUI.php';
20 public function __construct($a_parent_obj, $a_parent_cmd =
"")
26 $this->
addColumn($this->lng->txt(
"title"),
"title");
27 $this->
addColumn($this->lng->txt(
"passed"),
"passed");
28 $this->
addColumn($this->lng->txt(
"action"),
"");
30 $this->
setTitle($this->lng->txt(
"crsv_create"));
33 $this->
setRowTemplate(
"tpl.crs_verification_row.html",
"Modules/Course");
34 $this->
setFormAction($ilCtrl->getFormAction($a_parent_obj, $a_parent_cmd));
48 include_once
"Modules/Course/classes/class.ilObjCourse.php";
49 include_once
"./Modules/Course/classes/class.ilCourseParticipants.php";
54 include_once
"./Services/Certificate/classes/class.ilCertificate.php";
55 include_once
"./Modules/Course/classes/class.ilCourseCertificateAdapter.php";
58 foreach($obj_ids as $crs_id)
67 $data[] = array(
"id" => $crs_id,
87 $this->tpl->setVariable(
"TITLE", $a_set[
"title"]);
88 $this->tpl->setVariable(
"PASSED", ($a_set[
"passed"]) ? $this->lng->txt(
"yes") :
89 $this->lng->txt(
"no"));
93 $ilCtrl->setParameter($this->parent_obj,
"crs_id", $a_set[
"id"]);
94 $action = $ilCtrl->getLinkTarget($this->parent_obj,
"save");
95 $this->tpl->setVariable(
"URL_SELECT", $action);
96 $this->tpl->setVariable(
"TXT_SELECT", $this->lng->txt(
"select"));