ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
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 () | |
insert () | |
edit (bool $a_insert=false) | |
initForm (bool $a_insert=false) | |
initCreationForm () | |
initEditingForm () | |
create () | |
update () | |
![]() | |
__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... | |
Static Public Member Functions | |
static | insertResourcesIntoPageContent (string $a_content) |
Insert resources (see also ilContainerContentGUI::determinePageEmbeddedBlocks for presentation) More... | |
![]() | |
static | _getCommonBBButtons () |
Protected Member Functions | |
getContainerViewManager () | |
supportsItemGroups () | |
supportsOther () | |
supportsObjectives () | |
supportsTypeBlocks () | |
hasOtherBlock () | |
![]() | |
redirectToParent (string $hier_id="") | |
getParentReturn (string $hier_id="") | |
updateAndReturn () | |
setCurrentTextLang (string $lang_key) | |
getCurrentTextLang () | |
setEditorToolContext () | |
initEditor () | |
getEditorScriptTag (string $form_pc_id="", string $form_cname="") | |
Protected Attributes | |
ILIAS Container InternalDomainService | $container_domain |
ilTree | $rep_tree |
ilObjectDefinition | $obj_definition |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
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;" |
![]() | |
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 User Interface for Resources Component Editing
Definition at line 23 of file class.ilPCResourcesGUI.php.
ilPCResourcesGUI::__construct | ( | ilPageObject | $a_pg_obj, |
?ilPageContent | $a_content_obj, | ||
string | $a_hier_id, | ||
string | $a_pc_id = "" |
||
) |
Definition at line 30 of file class.ilPCResourcesGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilPCResourcesGUI::create | ( | ) |
Definition at line 277 of file class.ilPCResourcesGUI.php.
References ILIAS\Repository\ctrl(), ilPageContentGUI\getPage(), and insert().
ilPCResourcesGUI::edit | ( | bool | $a_insert = false | ) |
Definition at line 71 of file class.ilPCResourcesGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), initForm(), and ILIAS\UICore\GlobalTemplate\setContent().
Referenced by insert(), and update().
ilPCResourcesGUI::executeCommand | ( | ) |
Definition at line 51 of file class.ilPCResourcesGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
ilDatabaseException | |
ilObjectNotFoundException |
Definition at line 229 of file class.ilPCResourcesGUI.php.
References $container, $ref_id, ilPageContentGUI\$requested_ref_id, and ilObjectFactory\getInstanceByRefId().
Referenced by supportsItemGroups(), supportsObjectives(), supportsOther(), and supportsTypeBlocks().
|
protected |
Definition at line 327 of file class.ilPCResourcesGUI.php.
References $DIC, $ref_id, ilObjectFactory\getInstanceByRefId(), and null.
Referenced by initForm().
ilPCResourcesGUI::initCreationForm | ( | ) |
Definition at line 213 of file class.ilPCResourcesGUI.php.
References initForm().
Referenced by ilPCResourcesEditorGUI\getEditorElements().
ilPCResourcesGUI::initEditingForm | ( | ) |
Definition at line 219 of file class.ilPCResourcesGUI.php.
References initForm().
Referenced by ilPCResourcesEditorGUI\getEditorElements().
ilPCResourcesGUI::initForm | ( | bool | $a_insert = false | ) |
Definition at line 80 of file class.ilPCResourcesGUI.php.
References $c, ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $obj_definition, $ref_id, ilPageContentGUI\$requested_ref_id, ilPageContentGUI\$tpl, ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectPlugin\getPluginObjectByType(), hasOtherBlock(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), null, ilSelectInputGUI\setOptions(), ilRadioGroupInputGUI\setValue(), ilRadioOption\setValue(), supportsItemGroups(), supportsObjectives(), supportsOther(), and ilLanguage\txt().
Referenced by edit(), initCreationForm(), and initEditingForm().
ilPCResourcesGUI::insert | ( | ) |
Definition at line 66 of file class.ilPCResourcesGUI.php.
References edit().
Referenced by create().
|
static |
Insert resources (see also ilContainerContentGUI::determinePageEmbeddedBlocks for presentation)
Definition at line 358 of file class.ilPCResourcesGUI.php.
References $data, $DIC, $id, ilPageContentGUI\$lng, $ref_id, ilPageContentGUI\$tpl, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ILIAS\UICore\GlobalTemplate\get(), ilUtil\getImagePath(), ilObjectFactory\getInstanceByRefId(), ilUtil\img(), ilCourseObjective\lookupObjectiveTitle(), null, ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), ILIAS\UICore\GlobalTemplate\setVariable(), and ilLanguage\txt().
Referenced by ilPageObjectGUI\insertResources().
|
protected |
Definition at line 237 of file class.ilPCResourcesGUI.php.
References getContainerViewManager().
Referenced by initForm().
|
protected |
Definition at line 257 of file class.ilPCResourcesGUI.php.
References getContainerViewManager().
Referenced by initForm().
|
protected |
Definition at line 247 of file class.ilPCResourcesGUI.php.
References getContainerViewManager().
Referenced by initForm().
|
protected |
Definition at line 267 of file class.ilPCResourcesGUI.php.
References getContainerViewManager().
ilPCResourcesGUI::update | ( | ) |
Definition at line 303 of file class.ilPCResourcesGUI.php.
References ILIAS\Repository\ctrl(), and edit().
|
protected |
Definition at line 25 of file class.ilPCResourcesGUI.php.
|
protected |
Definition at line 27 of file class.ilPCResourcesGUI.php.
Referenced by initForm().
|
protected |
Definition at line 26 of file class.ilPCResourcesGUI.php.