|
ILIAS
Release_5_0_x_branch Revision 61816
|
Translation information on lm object. More...
Collaboration diagram for ilLMObjTranslation: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().
Here is the call graph for this function:
|
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.
References $ilDB.
|
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.
References $ilDB.
| 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().
Here is the caller graph for this function:| ilLMObjTranslation::getLang | ( | ) |
Get lang.
Definition at line 70 of file class.ilLMObjTranslation.php.
References $lang.
Referenced by save().
Here is the caller graph for this function:| 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 $ilDB, and setTitle().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMObjTranslation::save | ( | ) |
Save (inserts if not existing, otherwise updates)
Definition at line 135 of file class.ilLMObjTranslation.php.
References $ilDB, getId(), and getLang().
Here is the call graph for this function:| ilLMObjTranslation::setId | ( | $a_val | ) |
Set Id.
| int | $a_val | id |
Definition at line 40 of file class.ilLMObjTranslation.php.
Referenced by __construct().
Here is the caller graph for this function:| ilLMObjTranslation::setLang | ( | $a_val | ) |
Set lang.
| string | $a_val | language |
Definition at line 60 of file class.ilLMObjTranslation.php.
Referenced by __construct().
Here is the caller graph for this function:| ilLMObjTranslation::setTitle | ( | $a_val | ) |
Set title.
| string | $a_val | title |
Definition at line 80 of file class.ilLMObjTranslation.php.
Referenced by read().
Here is the caller graph for this function:
|
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().