3 declare(strict_types=1);
29 bool $lang_default =
false 33 $this->db = $DIC->database();
98 $query =
'update ' . self::TABLE_NAME .
' ' .
104 $this->db->manipulate(
$query);
107 public function delete():
void 109 $query =
'delete from ' . self::TABLE_NAME .
' ' .
112 $this->db->manipulate(
$query);
117 $query =
'insert into ' . self::TABLE_NAME .
' (record_id, title, lang_code, description) ' .
124 $this->db->manipulate(
$query);
setDescription(string $description)
Class ilAdvancedMDRecordTranslation.
setRecordId(int $record_id)
__construct(int $record_id, string $title, string $description, string $lang_key, bool $lang_default=false)
setLangDefault(bool $lang_default)