29 private readonly
string $default_language_code,
33 foreach ($translations as $translation) {
34 $this->
add($translation);
40 return $this->item->getId();
43 public function get(): array
53 public function remove(
string $language_code):
void 55 unset($this->translations[$language_code]);
60 return $this->translations[$language_code] ??
null;
65 return $this->translations[$this->default_language_code] ??
null;
70 return array_keys($this->translations);
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null