/** * Fill table row */ protected function fillRow($a_set) { global $lng, $ilCtrl; $this->tpl->setCurrentBlock("cmd"); $this->tpl->setVariable("CMD", $lng->txt("edit")); $ilCtrl->setParameter($this->parent_obj, "sprof_id", $a_set["id"]); $this->tpl->setVariable("CMD_HREF", $ilCtrl->getLinkTarget($this->parent_obj, "showUsers")); $ilCtrl->setParameter($this->parent_obj, "sprof_id", $_GET["sprof_id"]); $this->tpl->parseCurrentBlock(); $this->tpl->setVariable("ID", $a_set["id"]); $this->tpl->setVariable("TITLE", $a_set["title"]); $this->tpl->setVariable("NUM_USERS", ilSkillProfile::countUsers($a_set["id"])); }