|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Multi-language properties. More...
Collaboration diagram for ilPageMultiLang:Public Member Functions | |
| __construct ($a_parent_type, $a_parent_id) | |
| Constructor. More... | |
| setParentType ($a_val) | |
| Set parent type. More... | |
| getParentType () | |
| Get parent type. More... | |
| setParentId ($a_val) | |
| Set parent id. More... | |
| getParentId () | |
| Get parent id. More... | |
| setMasterLanguage ($a_val) | |
| Set master language. More... | |
| getMasterLanguage () | |
| Get master language. More... | |
| setLanguages (array $a_val) | |
| Set languages. More... | |
| getLanguages () | |
| Get languages. More... | |
| addLanguage ($a_lang) | |
| Add language. More... | |
| getActivated () | |
| Get activated. More... | |
| read () | |
| Read. More... | |
| delete () | |
| Delete. More... | |
| save () | |
| Save. More... | |
| copy ($a_target_parent_type, $a_target_parent_id) | |
| Copy multilinguality settings. More... | |
| getEffectiveLang ($a_lang) | |
| Get effective language for given language. More... | |
Protected Member Functions | |
| setActivated ($a_val) | |
| Set activated. More... | |
Protected Attributes | |
| $db | |
| $parent_type | |
| $parent_id | |
| $master_lang | |
| $languages = array() | |
| $activated = false | |
| ilPageMultiLang::__construct | ( | $a_parent_type, | |
| $a_parent_id | |||
| ) |
Constructor.
| string | $a_parent_type | parent object type |
| int | $a_parent_id | parent object id |
| ilCOPageException |
Definition at line 28 of file class.ilPageMultiLang.php.
References $ilDB, getParentId(), getParentType(), read(), setParentId(), and setParentType().
Here is the call graph for this function:| ilPageMultiLang::addLanguage | ( | $a_lang | ) |
Add language.
| string | $a_lang | language |
Definition at line 137 of file class.ilPageMultiLang.php.
Referenced by read().
Here is the caller graph for this function:| ilPageMultiLang::copy | ( | $a_target_parent_type, | |
| $a_target_parent_id | |||
| ) |
Copy multilinguality settings.
| string | $a_target_parent_type | parent object type |
| int | $a_target_parent_id | parent object id |
Definition at line 243 of file class.ilPageMultiLang.php.
References getActivated(), getLanguages(), and getMasterLanguage().
Here is the call graph for this function:| ilPageMultiLang::delete | ( | ) |
Delete.
Definition at line 199 of file class.ilPageMultiLang.php.
References getParentId().
Here is the call graph for this function:| ilPageMultiLang::getActivated | ( | ) |
Get activated.
Definition at line 161 of file class.ilPageMultiLang.php.
References $activated.
Referenced by copy(), and getEffectiveLang().
Here is the caller graph for this function:| ilPageMultiLang::getEffectiveLang | ( | $a_lang | ) |
Get effective language for given language.
This checks if
| string | $a_lang | language |
Definition at line 267 of file class.ilPageMultiLang.php.
References ilPageObject\_exists(), getActivated(), getLanguages(), getParentId(), and getParentType().
Here is the call graph for this function:| ilPageMultiLang::getLanguages | ( | ) |
Get languages.
Definition at line 127 of file class.ilPageMultiLang.php.
References $languages.
Referenced by copy(), getEffectiveLang(), and save().
Here is the caller graph for this function:| ilPageMultiLang::getMasterLanguage | ( | ) |
Get master language.
Definition at line 107 of file class.ilPageMultiLang.php.
References $master_lang.
Referenced by copy(), and save().
Here is the caller graph for this function:| ilPageMultiLang::getParentId | ( | ) |
Get parent id.
Definition at line 87 of file class.ilPageMultiLang.php.
References $parent_id.
Referenced by __construct(), delete(), getEffectiveLang(), and save().
Here is the caller graph for this function:| ilPageMultiLang::getParentType | ( | ) |
Get parent type.
Definition at line 67 of file class.ilPageMultiLang.php.
References $parent_type.
Referenced by __construct(), and getEffectiveLang().
Here is the caller graph for this function:| ilPageMultiLang::read | ( | ) |
Read.
Definition at line 169 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 | ( | ) |
Save.
Definition at line 214 of file class.ilPageMultiLang.php.
References $lang, getLanguages(), getMasterLanguage(), and getParentId().
Here is the call graph for this function:
|
protected |
Set activated.
| bool | $a_val | activated? |
Definition at line 151 of file class.ilPageMultiLang.php.
Referenced by read().
Here is the caller graph for this function:| ilPageMultiLang::setLanguages | ( | array | $a_val | ) |
Set languages.
| array | $a_val | array of language codes |
Definition at line 117 of file class.ilPageMultiLang.php.
Referenced by read().
Here is the caller graph for this function:| ilPageMultiLang::setMasterLanguage | ( | $a_val | ) |
Set master language.
| string | $a_val | master language |
Definition at line 97 of file class.ilPageMultiLang.php.
Referenced by read().
Here is the caller graph for this function:| ilPageMultiLang::setParentId | ( | $a_val | ) |
Set parent id.
| int | $a_val | parent id |
Definition at line 77 of file class.ilPageMultiLang.php.
Referenced by __construct().
Here is the caller graph for this function:| ilPageMultiLang::setParentType | ( | $a_val | ) |
Set parent type.
| string | $a_val | parent type |
Definition at line 57 of file class.ilPageMultiLang.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 19 of file class.ilPageMultiLang.php.
Referenced by getActivated().
|
protected |
Definition at line 14 of file class.ilPageMultiLang.php.
|
protected |
Definition at line 18 of file class.ilPageMultiLang.php.
Referenced by getLanguages().
|
protected |
Definition at line 17 of file class.ilPageMultiLang.php.
Referenced by getMasterLanguage().
|
protected |
Definition at line 16 of file class.ilPageMultiLang.php.
Referenced by getParentId().
|
protected |
Definition at line 15 of file class.ilPageMultiLang.php.
Referenced by getParentType().