ILIAS
Release_4_4_x_branch Revision 61816
|
Translation information on lm object. More...
Public Member Functions | |
__construct ($a_id=0, $a_lang="") | |
Constructor. | |
setId ($a_val) | |
Set Id. | |
getId () | |
Get Id. | |
setLang ($a_val) | |
Set lang. | |
getLang () | |
Get lang. | |
setTitle ($a_val) | |
Set title. | |
getTitle () | |
Get title. | |
getCreateDate () | |
Get create date. | |
getLastUpdate () | |
Get update date. | |
read () | |
Read. | |
save () | |
Save (inserts if not existing, otherwise updates) |
Static Public Member Functions | |
static | exists ($a_id, $a_lang) |
Check for existence. | |
static | copy ($a_source_id, $a_target_id) |
Copy all translations of an object. |
Protected Attributes | |
$lang | |
$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 = "" |
|||
) |
Constructor.
int | $a_id | object id (page, chapter) |
string | $a_lang | language code |
Definition at line 25 of file class.ilLMObjTranslation.php.
References read(), setId(), and setLang().
|
static |
Copy all translations of an object.
int | $a_source_id | source id |
int | $a_target_id | target |
Definition at line 189 of file class.ilLMObjTranslation.php.
|
static |
Check for existence.
int | $a_id | object id (page, chapter) |
string | $a_lang | language code |
Definition at line 168 of file class.ilLMObjTranslation.php.
ilLMObjTranslation::getCreateDate | ( | ) |
Get create date.
Definition at line 100 of file class.ilLMObjTranslation.php.
References $create_date.
ilLMObjTranslation::getId | ( | ) |
Get Id.
Definition at line 50 of file class.ilLMObjTranslation.php.
Referenced by save().
ilLMObjTranslation::getLang | ( | ) |
Get lang.
Definition at line 70 of file class.ilLMObjTranslation.php.
References $lang.
Referenced by save().
ilLMObjTranslation::getLastUpdate | ( | ) |
Get update date.
Definition at line 110 of file class.ilLMObjTranslation.php.
References $last_update.
ilLMObjTranslation::getTitle | ( | ) |
Get title.
Definition at line 90 of file class.ilLMObjTranslation.php.
References $title.
ilLMObjTranslation::read | ( | ) |
Read.
Definition at line 118 of file class.ilLMObjTranslation.php.
References setTitle().
Referenced by __construct().
ilLMObjTranslation::save | ( | ) |
Save (inserts if not existing, otherwise updates)
Definition at line 135 of file class.ilLMObjTranslation.php.
References getId(), and getLang().
ilLMObjTranslation::setId | ( | $a_val | ) |
Set Id.
int | $a_val | id |
Definition at line 40 of file class.ilLMObjTranslation.php.
Referenced by __construct().
ilLMObjTranslation::setLang | ( | $a_val | ) |
Set lang.
string | $a_val | language |
Definition at line 60 of file class.ilLMObjTranslation.php.
Referenced by __construct().
ilLMObjTranslation::setTitle | ( | $a_val | ) |
Set title.
string | $a_val | title |
Definition at line 80 of file class.ilLMObjTranslation.php.
Referenced by read().
|
protected |
Definition at line 16 of file class.ilLMObjTranslation.php.
Referenced by getCreateDate().
|
protected |
Definition at line 14 of file class.ilLMObjTranslation.php.
Referenced by getLang().
|
protected |
Definition at line 17 of file class.ilLMObjTranslation.php.
Referenced by getLastUpdate().
|
protected |
Definition at line 15 of file class.ilLMObjTranslation.php.
Referenced by getTitle().