19 declare(strict_types=1);
36 $key = self::KEY_BASE . $glo_id .
"_" . $user_id .
"_" . $box_nr .
"_initial_terms";
37 $this->session[$key] = $initial_terms;
45 $key = self::KEY_BASE . $glo_id .
"_" . $user_id .
"_" . $box_nr .
"_initial_terms";
46 if (isset($this->session[$key])) {
47 return $this->session[$key];
54 $key = self::KEY_BASE . $glo_id .
"_" . $user_id .
"_" . $box_nr .
"_terms";
55 $this->session[$key] = $terms;
63 $key = self::KEY_BASE . $glo_id .
"_" . $user_id .
"_" . $box_nr .
"_terms";
64 if (isset($this->session[$key])) {
65 return $this->session[$key];
setInitialTerms(int $glo_id, int $user_id, int $box_nr, array $initial_terms)
getTerms(int $glo_id, int $user_id, int $box_nr)
setTerms(int $glo_id, int $user_id, int $box_nr, array $terms)
getInitialTerms(int $glo_id, int $user_id, int $box_nr)