27 protected \ILIAS\COPage\InternalGUIService
$gui;
36 $lng = $DIC->language();
37 $lng->loadLanguageModule(
"content");
39 $this->gui = $DIC->copage()->internal()->gui();
47 "creation_form" => $acc->getHTML(
true),
61 $lng = $DIC->language();
62 $lng->loadLanguageModule(
"content");
65 $pc_src = $page_gui->
getPageObject()->getContentObjectForPcId($pcid);
71 [[
"Page",
"component.update.back",
$lng->txt(
"save")],
72 [
"Page",
"component.back",
$lng->txt(
"cancel")]],
87 [[
"Page",
"component.save", $lng->
txt(
"insert")],
88 [
"Page",
"component.cancel", $lng->
txt(
"cancel")]]
102 [[
"Page",
"component.save", $lng->
txt(
"insert")],
103 [
"Page",
"component.cancel", $lng->
txt(
"cancel")]]
115 $ctrl = $DIC->ctrl();
116 $lng = $DIC->language();
120 $ctrl->setParameterByClass(
"ilpcmediaobjectgui",
"subCmd",
"poolSelection");
122 $lng->
txt(
"cont_choose_media_pool"),
126 "url" => $ctrl->getLinkTargetByClass(
"ilpcmediaobjectgui",
"insert")
138 $ctrl->setParameterByClass(
"ilpcmediaobjectgui",
"subCmd",
"poolSelection");
150 $ctrl = $DIC->ctrl();
152 $return_cmd = $ctrl->getLinkTargetByClass(
"ilpageeditorgui",
"insertFromClipboard");
154 $ctrl->setParameterByClass(
"ileditclipboardgui",
"returnCommand", rawurlencode($return_cmd));
159 $lng->
txt(
"cont_open_clipboard"),
162 [
"url" => $ctrl->getLinkTargetByClass([get_class($page_gui),
"ileditclipboardgui"],
"getObject")],
getRenderedPoolBar(UIWrapper $ui_wrapper, ilLanguage $lng)
getEditorElements(UIWrapper $ui_wrapper, string $page_type, ilPageObjectGUI $page_gui, int $style_id)
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
getRenderedIcon(string $type)
getRenderedManualForm(UIWrapper $ui_wrapper, ilLanguage $lng, ilPageObjectGUI $page_gui)
getRenderedAdapterForm(FormAdapterGUI $form, array $buttons, string $id="", bool $in_modal=false)
getRenderedFormFooter(array $buttons)
getRenderedClipboardBar(UIWrapper $ui_wrapper, ilLanguage $lng, ilPageObjectGUI $page_gui)
getButton(string $content, string $type, string $action, ?array $data=null, string $component="", bool $primary=false, string $aria_label="")
ILIAS COPage InternalGUIService $gui
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getEditComponentForm(UIWrapper $ui_wrapper, string $page_type, \ilPageObjectGUI $page_gui, int $style_id, string $pcid)
Get rendered editor elements.
getManualFormAdapter(?string $download_title=null, ?string $subchar=null, ?bool $line_numbers=null)
getRenderedImportForm(UIWrapper $ui_wrapper, ilLanguage $lng, ilPageObjectGUI $page_gui)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...