ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Contains info on offline mode, focus, translation, etc. More...
Public Member Functions | |
__construct (ilObjUser $user, ilObjLearningModule $lm, ilLMTree $lm_tree, string $requested_transl="", string $requested_focus_id="", string $requested_focus_return="", string $requested_search_string="", string $offline, bool $export_all_languages, string $export_format, bool $embed_mode=false) | |
Constructor. More... | |
getLang () | |
Get language key. More... | |
getConcreteLang () | |
Only difference to getLang(): if current language is the master lang the language key will be returned, not "-". More... | |
getFocusId () | |
getFocusReturn () | |
getSearchString () | |
offline () | |
getEmbedMode () | |
exportAllLanguages () | |
getExportFormat () | |
getLMPresentationTitle () | |
Get lm presentationtitle. More... | |
isTocNecessary () | |
Is TOC necessary, see #30027 Check if at least two entries will be shown. More... | |
Protected Member Functions | |
init () | |
Init. More... | |
Protected Attributes | |
$lang | |
$concrete_lang | |
$focus_id = null | |
Contains info on offline mode, focus, translation, etc.
Definition at line 11 of file class.ilLMPresentationStatus.php.
ilLMPresentationStatus::__construct | ( | ilObjUser | $user, |
ilObjLearningModule | $lm, | ||
ilLMTree | $lm_tree, | ||
string | $requested_transl = "" , |
||
string | $requested_focus_id = "" , |
||
string | $requested_focus_return = "" , |
||
string | $requested_search_string = "" , |
||
string | $offline, | ||
bool | $export_all_languages, | ||
string | $export_format, | ||
bool | $embed_mode = false |
||
) |
Constructor.
Definition at line 31 of file class.ilLMPresentationStatus.php.
References ilObject\getId(), ilObjectTranslation\getInstance(), init(), offline(), and user().
ilLMPresentationStatus::exportAllLanguages | ( | ) |
Definition at line 145 of file class.ilLMPresentationStatus.php.
ilLMPresentationStatus::getConcreteLang | ( | ) |
Only difference to getLang(): if current language is the master lang the language key will be returned, not "-".
Definition at line 100 of file class.ilLMPresentationStatus.php.
References $concrete_lang.
ilLMPresentationStatus::getEmbedMode | ( | ) |
Definition at line 137 of file class.ilLMPresentationStatus.php.
ilLMPresentationStatus::getExportFormat | ( | ) |
Definition at line 153 of file class.ilLMPresentationStatus.php.
ilLMPresentationStatus::getFocusId | ( | ) |
ilLMPresentationStatus::getFocusReturn | ( | ) |
Definition at line 116 of file class.ilLMPresentationStatus.php.
ilLMPresentationStatus::getLang | ( | ) |
Get language key.
Definition at line 91 of file class.ilLMPresentationStatus.php.
References $lang.
Referenced by ilLMPresentationService\__construct().
ilLMPresentationStatus::getLMPresentationTitle | ( | ) |
Get lm presentationtitle.
Definition at line 163 of file class.ilLMPresentationStatus.php.
References $data, $lang, and offline().
ilLMPresentationStatus::getSearchString | ( | ) |
Definition at line 124 of file class.ilLMPresentationStatus.php.
|
protected |
Init.
Definition at line 62 of file class.ilLMPresentationStatus.php.
Referenced by __construct().
ilLMPresentationStatus::isTocNecessary | ( | ) |
Is TOC necessary, see #30027 Check if at least two entries will be shown.
Definition at line 185 of file class.ilLMPresentationStatus.php.
ilLMPresentationStatus::offline | ( | ) |
Definition at line 132 of file class.ilLMPresentationStatus.php.
Referenced by __construct(), and getLMPresentationTitle().
|
protected |
Definition at line 21 of file class.ilLMPresentationStatus.php.
Referenced by getConcreteLang().
|
protected |
Definition at line 26 of file class.ilLMPresentationStatus.php.
Referenced by getFocusId().
|
protected |
Definition at line 16 of file class.ilLMPresentationStatus.php.
Referenced by getLang(), getLMPresentationTitle(), and init().