39         $this->
ctrl = $DIC->ctrl();
    40         $this->
access = $DIC->access();
    41         $this->questioninfo = $DIC->testQuestionPool()->questionInfo();
    43         $this->
setId(
"cont_qpl");
    44         $this->pool_ref_id = $a_pool_ref_id;
    54         $this->
addColumn($this->
lng->txt(
"cont_question_type"), 
'ttype', 
'');
    58         $this->
setRowTemplate(
"tpl.copy_sa_quest_row.html", 
"Services/COPage");
    77         foreach ($all_types as $k => $v) {
    78             $all_ids[] = $v[
"question_type_id"];
    82         if ($access->
checkAccess(
"read", 
"", $this->pool_ref_id)) {
    87                 $DIC[
"component.repository"]
    90             $questionList->load();
    92             $data = $questionList->getQuestionDataArray();
    97                 if (in_array($d[
"question_type_fi"], $all_ids)) {
   105     protected function fillRow(array $a_set): void
   113         $this->tpl->setCurrentBlock(
"cmd");
   114         $this->tpl->setVariable(
   118         $this->tpl->setVariable(
   120             $lng->
txt(
"cont_copy_question_into_page")
   122         $this->tpl->parseCurrentBlock();
   126         $this->tpl->setVariable(
"TITLE", $a_set[
"title"]);
   127         $this->tpl->setVariable(
   129             $this->questioninfo->getQuestionType($a_set[
"question_id"])
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
checkAccess(string $a_permission, string $a_cmd, int $a_ref_id, string $a_type="", ?int $a_obj_id=null, ?int $a_tree_id=null)
check access for an object (provide $a_type and $a_obj_id if available for better performance) ...
 
setFormName(string $a_name="")
 
__construct(object $a_parent_obj, string $a_parent_cmd, int $a_pool_ref_id)
 
QuestionInfoService $questioninfo
 
static _lookupObjId(int $ref_id)
 
static & _getSelfAssessmentQuestionTypes($all_tags=false)
 
static _lookupTitle(int $obj_id)
 
setDefaultOrderField(string $a_defaultorderfield)
 
setParentObjId($parentObjId)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setDefaultOrderDirection(string $a_defaultorderdirection)
 
Table to select self assessment questions for copying into learning resources. 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
getLinkTarget(object $a_gui_obj, string $a_cmd=null, string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
setParameter(object $a_gui_obj, string $a_parameter, $a_value)