|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilPageMultiLang: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().
Here is the call graph for this function:| ilPageMultiLang::addLanguage | ( | string | $a_lang | ) |
Definition at line 104 of file class.ilPageMultiLang.php.
Referenced by read().
Here is the caller graph for this function:| 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 getLanguages(), and getMasterLanguage().
Here is the call graph for this function:| ilPageMultiLang::delete | ( | ) |
Definition at line 146 of file class.ilPageMultiLang.php.
References getParentId().
Here is the call graph for this function:| ilPageMultiLang::getActivated | ( | ) |
Definition at line 116 of file class.ilPageMultiLang.php.
References $activated.
| 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().
Here is the call graph for this function:| ilPageMultiLang::getLanguages | ( | ) |
Definition at line 99 of file class.ilPageMultiLang.php.
References $languages.
Referenced by copy(), and save().
Here is the caller graph for this function:| ilPageMultiLang::getMasterLanguage | ( | ) |
Definition at line 89 of file class.ilPageMultiLang.php.
References $master_lang.
Referenced by copy(), and save().
Here is the caller graph for this function:| ilPageMultiLang::getParentId | ( | ) |
Definition at line 79 of file class.ilPageMultiLang.php.
References $parent_id.
Referenced by __construct(), delete(), and save().
Here is the caller graph for this function:| ilPageMultiLang::getParentType | ( | ) |
Definition at line 69 of file class.ilPageMultiLang.php.
References $parent_type.
Referenced by __construct().
Here is the caller graph for this function:| ilPageMultiLang::read | ( | ) |
Definition at line 121 of file class.ilPageMultiLang.php.
References addLanguage(), setActivated(), setLanguages(), and setMasterLanguage().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageMultiLang::save | ( | ) |
Definition at line 160 of file class.ilPageMultiLang.php.
References $lang, getLanguages(), getMasterLanguage(), and getParentId().
Here is the call graph for this function:
|
protected |
Definition at line 111 of file class.ilPageMultiLang.php.
Referenced by read().
Here is the caller graph for this function:| ilPageMultiLang::setLanguages | ( | array | $a_val | ) |
Definition at line 94 of file class.ilPageMultiLang.php.
Referenced by read().
Here is the caller graph for this function:| ilPageMultiLang::setMasterLanguage | ( | string | $a_val | ) |
Definition at line 84 of file class.ilPageMultiLang.php.
Referenced by read().
Here is the caller graph for this function:| ilPageMultiLang::setParentId | ( | int | $a_val | ) |
Definition at line 74 of file class.ilPageMultiLang.php.
Referenced by __construct().
Here is the caller graph for this function:| ilPageMultiLang::setParentType | ( | string | $a_val | ) |
Definition at line 64 of file class.ilPageMultiLang.php.
Referenced by __construct().
Here is the caller graph for this function:
|
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().