ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (string $a_parent_type, int $a_parent_id) | |
Constructor. More... | |
setParentType (string $a_val) | |
getParentType () | |
setParentId (int $a_val) | |
getParentId () | |
setMasterLanguage (string $a_val) | |
getMasterLanguage () | |
setLanguages (array $a_val) | |
getLanguages () | |
addLanguage (string $a_lang) | |
getActivated () | |
read () | |
delete () | |
save () | |
copy (string $a_target_parent_type, int $a_target_parent_id) | |
Copy multilinguality settings. More... | |
getEffectiveLang (string $a_lang) | |
Get effective language for given language. More... | |
Protected Member Functions | |
setActivated (bool $a_val) | |
Protected Attributes | |
ilDBInterface | $db |
string | $parent_type |
int | $parent_id |
string | $master_lang |
array | $languages = array() |
bool | $activated = false |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Multi-language properties
Definition at line 24 of file class.ilPageMultiLang.php.
ilPageMultiLang::__construct | ( | string | $a_parent_type, |
int | $a_parent_id | ||
) |
Constructor.
string | $a_parent_type | parent object type |
int | $a_parent_id | parent object id |
ilCOPageException |
Definition at line 40 of file class.ilPageMultiLang.php.
References $DIC, $ilDB, getParentId(), getParentType(), read(), setParentId(), and setParentType().
ilPageMultiLang::addLanguage | ( | string | $a_lang | ) |
Definition at line 104 of file class.ilPageMultiLang.php.
Referenced by read().
ilPageMultiLang::copy | ( | string | $a_target_parent_type, |
int | $a_target_parent_id | ||
) |
Copy multilinguality settings.
string | $a_target_parent_type | parent object type |
int | $a_target_parent_id | parent object id |
ilCOPageException |
Definition at line 189 of file class.ilPageMultiLang.php.
References getActivated(), getLanguages(), getMasterLanguage(), and null.
ilPageMultiLang::delete | ( | ) |
Definition at line 146 of file class.ilPageMultiLang.php.
ilPageMultiLang::getActivated | ( | ) |
Definition at line 116 of file class.ilPageMultiLang.php.
References $activated.
Referenced by copy(), and getEffectiveLang().
ilPageMultiLang::getEffectiveLang | ( | string | $a_lang | ) |
Get effective language for given language.
This checks if
string | $a_lang | language |
Definition at line 214 of file class.ilPageMultiLang.php.
References ilPageObject\_exists(), getActivated(), getLanguages(), getParentId(), and getParentType().
ilPageMultiLang::getLanguages | ( | ) |
Definition at line 99 of file class.ilPageMultiLang.php.
References $languages.
Referenced by copy(), getEffectiveLang(), and save().
ilPageMultiLang::getMasterLanguage | ( | ) |
Definition at line 89 of file class.ilPageMultiLang.php.
References $master_lang.
Referenced by copy().
ilPageMultiLang::getParentId | ( | ) |
Definition at line 79 of file class.ilPageMultiLang.php.
References $parent_id.
Referenced by __construct(), and getEffectiveLang().
ilPageMultiLang::getParentType | ( | ) |
Definition at line 69 of file class.ilPageMultiLang.php.
References $parent_type.
Referenced by __construct(), and getEffectiveLang().
ilPageMultiLang::read | ( | ) |
Definition at line 121 of file class.ilPageMultiLang.php.
References addLanguage(), setActivated(), setLanguages(), and setMasterLanguage().
Referenced by __construct().
ilPageMultiLang::save | ( | ) |
Definition at line 160 of file class.ilPageMultiLang.php.
References $lang, and getLanguages().
|
protected |
Definition at line 111 of file class.ilPageMultiLang.php.
Referenced by read().
ilPageMultiLang::setLanguages | ( | array | $a_val | ) |
Definition at line 94 of file class.ilPageMultiLang.php.
Referenced by read().
ilPageMultiLang::setMasterLanguage | ( | string | $a_val | ) |
Definition at line 84 of file class.ilPageMultiLang.php.
Referenced by read().
ilPageMultiLang::setParentId | ( | int | $a_val | ) |
Definition at line 74 of file class.ilPageMultiLang.php.
Referenced by __construct().
ilPageMultiLang::setParentType | ( | string | $a_val | ) |
Definition at line 64 of file class.ilPageMultiLang.php.
Referenced by __construct().
|
protected |
Definition at line 31 of file class.ilPageMultiLang.php.
Referenced by getActivated().
|
protected |
Definition at line 26 of file class.ilPageMultiLang.php.
|
protected |
Definition at line 30 of file class.ilPageMultiLang.php.
Referenced by getLanguages().
|
protected |
Definition at line 29 of file class.ilPageMultiLang.php.
Referenced by getMasterLanguage().
|
protected |
Definition at line 28 of file class.ilPageMultiLang.php.
Referenced by getParentId().
|
protected |
Definition at line 27 of file class.ilPageMultiLang.php.
Referenced by getParentType().