52         if (is_array($a_value)) {
    53             if (is_array($a_value[
'points'])) {
    54                 foreach ($a_value[
'points'] as $index => 
$value) {
    55                     $this->values[$index]->setPoints($a_value[
'points'][$index]);
    71         if (is_array($foundvalues)) {
    74             if (is_array($foundvalues[
'points'])) {
    75                 foreach ($foundvalues[
'points'] as $points) {
    76                     $points = str_replace(
',', 
'.', $points);
    80                     if (((strlen($points)) == 0) || (!is_numeric($points))) {
    85                         if (trim($points) != 
"" &&
    93                         if (trim($points) != 
"" &&
   120         $tpl = 
new ilTemplate(
"tpl.prop_textsubsetcorrection_input.html", 
true, 
true, 
"Modules/TestQuestionPool");
   122         foreach ($this->values as 
$value) {
   124                 $tpl->setCurrentBlock(
"points");
   125                 $tpl->setVariable(
"POST_VAR", $this->
getPostVar());
   126                 $tpl->setVariable(
"ROW_NUMBER", $i);
   127                 $tpl->setVariable(
"POINTS_ID", $this->
getPostVar() . 
"[points][$i]");
   129                 $tpl->parseCurrentBlock();
   132             $tpl->setCurrentBlock(
"row");
   134             $tpl->parseCurrentBlock();
   138         $tpl->setVariable(
"ELEMENT_ID", $this->
getPostVar());
 parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
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...
 
setVariable($variable, $value='')
Sets a variable value. 
 
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)