ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="") | |
executeCommand () | |
Execute command. More... | |
insert () | |
Insert content template. More... | |
initForm () | |
Init creation from. More... | |
create () | |
Insert the template. More... | |
![]() | |
__construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id="", string $a_pc_id="0") | |
setContentObject (ilPageContent $a_val) | |
getContentObject () | |
setPage (ilPageObject $a_val) | |
getPage () | |
setPageConfig (ilPageConfig $a_val) | |
getPageConfig () | |
setStyleId (int $a_styleid) | |
getStyleId () | |
getStyle () | |
getCharacteristicsOfCurrentStyle (array $a_type) | |
Get characteristics of current style and call setCharacteristics, if style is given. More... | |
setCharacteristics (array $a_chars) | |
getCharacteristics () | |
getHierId () | |
setHierId (string $a_hier_id) | |
set hierarchical id in dom object More... | |
delete () | |
displayValidationError () | |
cancelCreate () | |
cancel creating page content More... | |
cancelUpdate () | |
cancel update More... | |
cancel () | |
Cancel. More... | |
deactivate () | |
gui function set enabled if is not enabled and vice versa More... | |
cut () | |
Cut single element. More... | |
copy () | |
Copy single element. More... | |
getTemplateOptions (string $a_type="") | |
Get table templates. More... | |
Additional Inherited Members | |
![]() | |
static | _getCommonBBButtons () |
![]() | |
ilPageContent | $content_obj |
ilGlobalTemplateInterface | $tpl |
ilLanguage | $lng |
ilCtrl | $ctrl |
ilPageObject | $pg_obj |
string | $hier_id = "" |
DOMDocument | $dom |
$updated | |
string | $target_script = "" |
string | $return_location = "" |
ilPageConfig | $page_config = null |
![]() | |
static string | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
![]() | |
redirectToParent (string $hier_id="") | |
getParentReturn (string $hier_id="") | |
updateAndReturn () | |
setCurrentTextLang (string $lang_key) | |
getCurrentTextLang () | |
setEditorToolContext () | |
initEditor () | |
getEditorScriptTag (string $form_pc_id="", string $form_cname="") | |
![]() | |
ILIAS COPage Editor GUIService | $editor_gui |
ILIAS COPage InternalGUIService | $gui |
EditSessionRepository | $edit_repo |
string | $pc_id = "" |
array | $chars |
ilObjStyleSheet | $style = null |
LOMServices | $lom_services |
ilLogger | $log |
int | $styleid = 0 |
EditGUIRequest | $request |
string | $sub_command = "" |
int | $requested_ref_id = 0 |
ILIAS GlobalScreen ScreenContext ContextServices | $tool_context |
Style Content CharacteristicManager | $char_manager |
![]() | |
static array | $common_bb_buttons |
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 Class ilPCContentTemplateGUI
User Interface for inserting content templates
Definition at line 27 of file class.ilPCContentTemplateGUI.php.
ilPCContentTemplateGUI::__construct | ( | ilPageObject | $a_pg_obj, |
?ilPageContent | $a_content_obj, | ||
string | $a_hier_id, | ||
string | $a_pc_id = "" |
||
) |
Definition at line 29 of file class.ilPCContentTemplateGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilPCContentTemplateGUI::create | ( | ) |
Insert the template.
Definition at line 107 of file class.ilPCContentTemplateGUI.php.
References ilPageContentGUI\$tpl, ILIAS\Repository\ctrl(), ilPageContentGUI\displayValidationError(), ilPageContentGUI\getPage(), initForm(), and ILIAS\UICore\GlobalTemplate\setContent().
ilPCContentTemplateGUI::executeCommand | ( | ) |
Execute command.
Definition at line 46 of file class.ilPCContentTemplateGUI.php.
References ILIAS\Repository\ctrl().
ilPCContentTemplateGUI::initForm | ( | ) |
Init creation from.
Definition at line 76 of file class.ilPCContentTemplateGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilPageContentGUI\getPage(), ILIAS\Repository\lng(), ilFormPropertyGUI\setRequired(), and ilLanguage\txt().
Referenced by create(), and insert().
ilPCContentTemplateGUI::insert | ( | ) |
Insert content template.
Definition at line 64 of file class.ilPCContentTemplateGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), initForm(), and ILIAS\UICore\GlobalTemplate\setContent().