ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Translation information on lm object. More...
Public Member Functions | |
__construct ($a_id=0, $a_lang="") | |
Constructor. More... | |
setId ($a_val) | |
Set Id. More... | |
getId () | |
Get Id. More... | |
setLang ($a_val) | |
Set lang. More... | |
getLang () | |
Get lang. More... | |
setTitle ($a_val) | |
Set title. More... | |
getTitle () | |
Get title. More... | |
setShortTitle ($a_val) | |
Set short title. More... | |
getShortTitle () | |
Get short title. More... | |
getCreateDate () | |
Get create date. More... | |
getLastUpdate () | |
Get update date. More... | |
read () | |
Read. More... | |
save () | |
Save (inserts if not existing, otherwise updates) More... | |
Static Public Member Functions | |
static | exists ($a_id, $a_lang) |
Check for existence. More... | |
static | copy ($a_source_id, $a_target_id) |
Copy all translations of an object. More... | |
Protected Attributes | |
$db | |
$lang | |
$title | |
$short_title | |
$create_date | |
$last_update | |
Translation information on lm object.
Definition at line 12 of file class.ilLMObjTranslation.php.
ilLMObjTranslation::__construct | ( | $a_id = 0 , |
|
$a_lang = "" |
|||
) |
|
static |
Copy all translations of an object.
int | $a_source_id | source id |
int | $a_target_id | target |
Definition at line 221 of file class.ilLMObjTranslation.php.
Referenced by ilStructureObject\copy(), and ilLMPageObject\copy().
|
static |
Check for existence.
int | $a_id | object id (page, chapter) |
string | $a_lang | language code |
Definition at line 198 of file class.ilLMObjTranslation.php.
ilLMObjTranslation::getCreateDate | ( | ) |
Get create date.
Definition at line 128 of file class.ilLMObjTranslation.php.
References $create_date.
ilLMObjTranslation::getId | ( | ) |
Get Id.
Definition at line 58 of file class.ilLMObjTranslation.php.
References $id.
Referenced by save().
ilLMObjTranslation::getLang | ( | ) |
Get lang.
Definition at line 78 of file class.ilLMObjTranslation.php.
References $lang.
Referenced by save().
ilLMObjTranslation::getLastUpdate | ( | ) |
Get update date.
Definition at line 138 of file class.ilLMObjTranslation.php.
References $last_update.
ilLMObjTranslation::getShortTitle | ( | ) |
Get short title.
Definition at line 118 of file class.ilLMObjTranslation.php.
References $short_title.
ilLMObjTranslation::getTitle | ( | ) |
Get title.
Definition at line 98 of file class.ilLMObjTranslation.php.
References $title.
ilLMObjTranslation::read | ( | ) |
Read.
Definition at line 146 of file class.ilLMObjTranslation.php.
References $db, $ilDB, setShortTitle(), and setTitle().
Referenced by __construct().
ilLMObjTranslation::save | ( | ) |
ilLMObjTranslation::setId | ( | $a_val | ) |
Set Id.
int | $a_val | id |
Definition at line 48 of file class.ilLMObjTranslation.php.
Referenced by __construct().
ilLMObjTranslation::setLang | ( | $a_val | ) |
Set lang.
string | $a_val | language |
Definition at line 68 of file class.ilLMObjTranslation.php.
Referenced by __construct().
ilLMObjTranslation::setShortTitle | ( | $a_val | ) |
Set short title.
string | $a_val | short title |
Definition at line 108 of file class.ilLMObjTranslation.php.
Referenced by read().
ilLMObjTranslation::setTitle | ( | $a_val | ) |
Set title.
string | $a_val | title |
Definition at line 88 of file class.ilLMObjTranslation.php.
Referenced by read().
|
protected |
Definition at line 22 of file class.ilLMObjTranslation.php.
Referenced by getCreateDate().
|
protected |
Definition at line 17 of file class.ilLMObjTranslation.php.
|
protected |
Definition at line 19 of file class.ilLMObjTranslation.php.
Referenced by getLang().
|
protected |
Definition at line 23 of file class.ilLMObjTranslation.php.
Referenced by getLastUpdate().
|
protected |
Definition at line 21 of file class.ilLMObjTranslation.php.
Referenced by getShortTitle().
|
protected |
Definition at line 20 of file class.ilLMObjTranslation.php.
Referenced by getTitle().