ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
User Interface for Learning Module Page Objects Editing. More...
Public Member Functions | |
__construct (ilObjLearningModule $a_content_obj) | |
setLMPageObject (ilLMPageObject $a_pg_obj) | |
Set content object dependent page object (co page) More... | |
executeCommand () | |
edit () | |
display content of page (edit view) More... | |
preview () | |
display content of page (edit view) More... | |
cancel () | |
cancel More... | |
getLinkXML (array $a_int_links) | |
get link targets More... | |
editLayout () | |
Edit layout of page. More... | |
initEditLayoutForm () | |
saveLayout () | |
addPageTabs () | |
downloadFile () | |
download file of file lists More... | |
create () | |
initNewPageForm () | |
save () | |
Save page. More... | |
![]() | |
__construct (ilObjLearningModule $a_content_obj) | |
constructor More... | |
setActions (?array $a_actions=null) | |
getTargetFrame (string $a_cmd, string $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
create () | |
structure / page object creation form More... | |
getCreateForm () | |
putInTree (?int $target=0) | |
put this object into content object tree More... | |
delete (array $ids) | |
Confirm deletion screen (delete page or structure objects) More... | |
setTabs () | |
cancelDelete () | |
cancel deletion of page/structure objects More... | |
confirmedDelete () | |
page and structure object deletion More... | |
showActions (array $a_actions) | |
show possible action (form buttons) More... | |
checkTree () | |
check the content object tree More... | |
Static Public Member Functions | |
static | _goto (string $a_target) |
redirect script More... | |
static | getLayoutCssFix () |
Get layout css fix (workaround for broken radio options) More... | |
Protected Attributes | |
ilPropertyFormGUI | $form |
ilTabsGUI | $tabs |
ilSetting | $settings |
ILIAS Style Content DomainService | $content_style_domain |
![]() | |
int | $requested_ref_id |
ILIAS DI UIServices | $ui |
int | $requested_obj_id |
string | $requested_totransl = "" |
string | $requested_transl = "" |
string | $requested_target |
string | $requested_new_type |
array | $target_frame |
EditingGUIRequest | $request |
Additional Inherited Members | |
![]() | |
ilGlobalTemplateInterface | $tpl |
ilLanguage | $lng |
ilLMObject | $obj |
ilCtrl | $ctrl |
ilObjLearningModule | $content_object |
array | $actions |
User Interface for Learning Module Page Objects Editing.
Definition at line 27 of file class.ilLMPageObjectGUI.php.
ilLMPageObjectGUI::__construct | ( | ilObjLearningModule | $a_content_obj | ) |
Definition at line 34 of file class.ilLMPageObjectGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\settings(), and ILIAS\Repository\tabs().
|
static |
redirect script
Definition at line 337 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, $DIC, $ilErr, ilLMObjectGUI\$lng, $ref_id, ilObject\_getAllReferences(), ilObjectGUI\_gotoRepositoryRoot(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), ilLanguage\loadLanguageModule(), ilCtrl\redirectByClass(), ROOT_FOLDER_ID, ilCtrl\setParameterByClass(), and ilLanguage\txt().
Referenced by ILIAS\StaticURL\Handler\LegacyGotoHandler\handle().
ilLMPageObjectGUI::addPageTabs | ( | ) |
Definition at line 484 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, and $tabs.
ilLMPageObjectGUI::cancel | ( | ) |
cancel
Definition at line 172 of file class.ilLMPageObjectGUI.php.
References ILIAS\Repository\ctrl(), and ilUtil\redirect().
Referenced by save().
ilLMPageObjectGUI::create | ( | ) |
Definition at line 519 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, $tabs, ilLMObjectGUI\$ui, ilCtrl\getLinkTarget(), initNewPageForm(), ilTabsGUI\setBackTarget(), ilCtrl\setParameter(), and ilLanguage\txt().
ilLMPageObjectGUI::downloadFile | ( | ) |
download file of file lists
Definition at line 499 of file class.ilLMPageObjectGUI.php.
References exit, and ILIAS\Repository\int().
ilLMPageObjectGUI::edit | ( | ) |
display content of page (edit view)
Definition at line 155 of file class.ilLMPageObjectGUI.php.
References ILIAS\Repository\ctrl().
ilLMPageObjectGUI::editLayout | ( | ) |
Edit layout of page.
Definition at line 404 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, $lm_set, ilLMObjectGUI\$obj, $tabs, ilLMObjectGUI\$tpl, ILIAS\Repository\form(), ilUtil\getImagePath(), initEditLayoutForm(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\setContent(), ilPageObjectGUI\setEditPreview(), ILIAS\UICore\GlobalTemplate\setTitle(), and ILIAS\UICore\GlobalTemplate\setTitleIcon().
ilLMPageObjectGUI::executeCommand | ( | ) |
Definition at line 58 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, $ilSetting, ilLMObjectGUI\$obj, ilLMObjectGUI\$requested_ref_id, ilLMObjectGUI\$requested_transl, $settings, ilLMObjectGUI\$tpl, ilPageObject\_exists(), ilLMPageObject\_getPresentationTitle(), ILIAS\Repository\ctrl(), ilUtil\getImagePath(), getLinkXML(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\setContent(), ilPageObjectGUI\setEditPreview(), ILIAS\UICore\GlobalTemplate\setTitle(), and ILIAS\UICore\GlobalTemplate\setTitleIcon().
|
static |
Get layout css fix (workaround for broken radio options)
Definition at line 593 of file class.ilLMPageObjectGUI.php.
Referenced by ILIAS\LearningModule\Editing\EditSubObjectsGUI\insertLayout().
ilLMPageObjectGUI::getLinkXML | ( | array | $a_int_links | ) |
get link targets
Definition at line 189 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$content_object, ilFrameTargetInfo\_getFrame(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), ILIAS\Repository\ctrl(), ilWikiPage\getGotoForWikiPageTarget(), ilUserUtil\getNamePresentation(), ilUserUtil\hasPublicProfile(), and null.
Referenced by executeCommand().
ilLMPageObjectGUI::initEditLayoutForm | ( | ) |
Definition at line 430 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, ILIAS\Repository\form(), ilObjContentObject\getAvailableLayouts(), ilUtil\getImagePath(), ilUtil\img(), and ilLanguage\txt().
Referenced by editLayout(), and saveLayout().
ilLMPageObjectGUI::initNewPageForm | ( | ) |
Definition at line 534 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, Vendor\Package\$f, ilLMObjectGUI\$lng, ilLMObjectGUI\$ui, ilCtrl\getLinkTarget(), ilPageLayout\MODULE_LM, and ilLanguage\txt().
Referenced by create(), and save().
ilLMPageObjectGUI::preview | ( | ) |
display content of page (edit view)
Definition at line 163 of file class.ilLMPageObjectGUI.php.
References ILIAS\Repository\ctrl().
ilLMPageObjectGUI::save | ( | ) |
Save page.
Definition at line 560 of file class.ilLMPageObjectGUI.php.
References $data, $DIC, ilLMObjectGUI\$lng, ilLMObjectGUI\$request, cancel(), initNewPageForm(), ILIAS\Repository\int(), ilUtil\stripSlashes(), and ilLanguage\txt().
ilLMPageObjectGUI::saveLayout | ( | ) |
Definition at line 468 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, ilLMObjectGUI\$tpl, ILIAS\Repository\form(), initEditLayoutForm(), ILIAS\UICore\GlobalTemplate\setContent(), ilLanguage\txt(), and ilLMObject\writeLayout().
ilLMPageObjectGUI::setLMPageObject | ( | ilLMPageObject | $a_pg_obj | ) |
Set content object dependent page object (co page)
Definition at line 52 of file class.ilLMPageObjectGUI.php.
References ilLMObject\setLMId().
|
protected |
Definition at line 32 of file class.ilLMPageObjectGUI.php.
|
protected |
Definition at line 29 of file class.ilLMPageObjectGUI.php.
|
protected |
Definition at line 31 of file class.ilLMPageObjectGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 30 of file class.ilLMPageObjectGUI.php.
Referenced by addPageTabs(), create(), and editLayout().