|
ILIAS
release_8 Revision v8.24
|
User Interface for Editing of Page Content Objects (Paragraphs, Tables, ...) More...
Inheritance diagram for ilPageContentGUI:
Collaboration diagram for ilPageContentGUI:Public Member Functions | |
| __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 () | |
| moveAfter () | |
| move content element after another element More... | |
| moveBefore () | |
| move content element before another element More... | |
| splitPage () | |
| split page to new page at specified position More... | |
| splitPageNext () | |
| split page to next page at specified position More... | |
| 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 | _getCommonBBButtons () |
Data Fields | |
| ilPageContent | $content_obj |
| ilGlobalTemplateInterface | $tpl |
| ilLanguage | $lng |
| ilCtrl | $ctrl |
| ilPageObject | $pg_obj |
| string | $hier_id = "" |
| php4DOMDocument | $dom |
| $updated | |
| string | $target_script = "" |
| string | $return_location = "" |
| ilPageConfig | $page_config = null |
Static Public Attributes | |
| static string | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
Protected Member Functions | |
| redirectToParent (string $hier_id="") | |
| getParentReturn (string $hier_id="") | |
| updateAndReturn () | |
| setCurrentTextLang (string $lang_key) | |
| getCurrentTextLang () | |
Protected Attributes | |
| EditSessionRepository | $edit_repo |
| string | $pc_id = "" |
| array | $chars |
| ilObjStyleSheet | $style = null |
| ilLogger | $log |
| int | $styleid = 0 |
| EditGUIRequest | $request |
| string | $sub_command = "" |
| int | $requested_ref_id = 0 |
| Style Content CharacteristicManager | $char_manager |
Static Protected Attributes | |
| static array | $common_bb_buttons |
User Interface for Editing of Page Content Objects (Paragraphs, Tables, ...)
Definition at line 29 of file class.ilPageContentGUI.php.
| ilPageContentGUI::__construct | ( | ilPageObject | $a_pg_obj, |
| ?ilPageContent | $a_content_obj, | ||
| string | $a_hier_id = "", |
||
| string | $a_pc_id = "0" |
||
| ) |
Reimplemented in ilPCAMDFormGUI, ilPCConsultationHoursGUI, ilPCMyCoursesGUI, ilPCAMDPageListGUI, ilPCBlogGUI, ilPCContentIncludeGUI, ilPCContentTemplateGUI, ilPCDataTableGUI, ilPCFileItemGUI, ilPCFileListGUI, ilPCGridCellGUI, ilPCGridGUI, ilPCInteractiveImageGUI, ilPCListGUI, ilPCListItemGUI, ilPCLoginPageElementGUI, ilPCMapGUI, ilPCMediaObjectGUI, ilPCParagraphGUI, ilPCPlaceHolderGUI, ilPCProfileGUI, ilPCQuestionGUI, ilPCQuestionOverviewGUI, ilPCResourcesGUI, ilPCSkillsGUI, ilPCSourceCodeGUI, ilPCTableDataGUI, ilPCTableGUI, ilPCTabsGUI, and ilPCSectionGUI.
Definition at line 65 of file class.ilPageContentGUI.php.
References $DIC, $lng, $service, ILIAS\Repository\ctrl(), ilPageObject\getDom(), ilLoggerFactory\getLogger(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
static |
Definition at line 132 of file class.ilPageContentGUI.php.
References $common_bb_buttons.
Referenced by ilObjAdvancedEditingGUI\initPageEditorForm(), ilObjAdvancedEditingGUI\savePageEditorSettingsObject(), and ilPCParagraphGUI\xml2outputJS().
Here is the caller graph for this function:| ilPageContentGUI::cancel | ( | ) |
Cancel.
Reimplemented in ilPCParagraphGUI, and ilPCPlaceHolderGUI.
Definition at line 436 of file class.ilPageContentGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPageContentGUI::cancelCreate | ( | ) |
cancel creating page content
Reimplemented in ilPCSourceCodeGUI.
Definition at line 420 of file class.ilPageContentGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPageContentGUI::cancelUpdate | ( | ) |
cancel update
Reimplemented in ilPCSourceCodeGUI.
Definition at line 428 of file class.ilPageContentGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPageContentGUI::copy | ( | ) |
Copy single element.
Definition at line 476 of file class.ilPageContentGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPageContentGUI::cut | ( | ) |
Cut single element.
Definition at line 460 of file class.ilPageContentGUI.php.
References $updated, and ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPageContentGUI::deactivate | ( | ) |
gui function set enabled if is not enabled and vice versa
Definition at line 445 of file class.ilPageContentGUI.php.
References $content_obj, ilPageContent\disable(), and updateAndReturn().
Here is the call graph for this function:| ilPageContentGUI::delete | ( | ) |
Definition at line 227 of file class.ilPageContentGUI.php.
References $updated, and ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPageContentGUI::displayValidationError | ( | ) |
Definition at line 400 of file class.ilPageContentGUI.php.
Referenced by ilPCContentTemplateGUI\create(), ilPCMapGUI\create(), ilPCListGUI\edit(), ilPCMapGUI\edit(), ilPCSourceCodeGUI\edit(), ilPCVerificationGUI\edit(), ilPCLoginPageElementGUI\edit(), ilPCPluggedGUI\edit(), ilPCResourcesGUI\edit(), ilPCConsultationHoursGUI\edit(), ilPCMyCoursesGUI\edit(), ilPCAMDPageListGUI\edit(), ilPCBlogGUI\edit(), ilPCProfileGUI\edit(), ilPCSkillsGUI\edit(), ilPCLearningHistoryGUI\edit(), ilPCAMDFormGUI\editPortfolio(), ilPCAMDFormGUI\editTemplate(), ilPCContentTemplateGUI\insert(), ilPCGridGUI\insert(), ilPCListGUI\insert(), ilPCMapGUI\insert(), ilPCSourceCodeGUI\insert(), ilPCVerificationGUI\insert(), ilPCAMDFormGUI\insert(), ilPCConsultationHoursGUI\insert(), ilPCMyCoursesGUI\insert(), ilPCAMDPageListGUI\insert(), ilPCBlogGUI\insert(), ilPCFileListGUI\insert(), ilPCProfileGUI\insert(), ilPCSkillsGUI\insert(), ilPCLearningHistoryGUI\insert(), ilPCQuestionGUI\insert(), ilPCFileItemGUI\newItemAfter(), ilPCFileItemGUI\newItemBefore(), ilPCFileListGUI\selectFile(), and ilPCMapGUI\update().
Here is the caller graph for this function:| ilPageContentGUI::getCharacteristics | ( | ) |
Definition at line 208 of file class.ilPageContentGUI.php.
| ilPageContentGUI::getCharacteristicsOfCurrentStyle | ( | array | $a_type | ) |
Get characteristics of current style and call setCharacteristics, if style is given.
Definition at line 161 of file class.ilPageContentGUI.php.
References $char_manager, $chars, $DIC, $service, ilObject\_lookupType(), getStyleId(), and setCharacteristics().
Referenced by ilPCDataTableGUI\executeCommand(), ilPCFileListGUI\executeCommand(), ilPCSectionGUI\executeCommand(), ilPCTableGUI\executeCommand(), and ilPCSectionGUI\getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageContentGUI::getContentObject | ( | ) |
Definition at line 107 of file class.ilPageContentGUI.php.
References $content_obj.
|
protected |
Definition at line 537 of file class.ilPageContentGUI.php.
Referenced by ilPCSourceCodeGUI\insert().
Here is the caller graph for this function:| ilPageContentGUI::getHierId | ( | ) |
Definition at line 213 of file class.ilPageContentGUI.php.
References $hier_id.
| ilPageContentGUI::getPage | ( | ) |
Definition at line 117 of file class.ilPageContentGUI.php.
References $pg_obj.
Referenced by ilPCLoginPageElementGUI\__construct(), ilPCQuestionGUI\copyQuestion(), ilPCAMDFormGUI\create(), ilPCConsultationHoursGUI\create(), ilPCMyCoursesGUI\create(), ilPCAMDPageListGUI\create(), ilPCBlogGUI\create(), ilPCContentIncludeGUI\create(), ilPCContentTemplateGUI\create(), ilPCGridGUI\create(), ilPCListGUI\create(), ilPCLoginPageElementGUI\create(), ilPCMapGUI\create(), ilPCPlaceHolderGUI\create(), ilPCProfileGUI\create(), ilPCQuestionGUI\create(), ilPCResourcesGUI\create(), ilPCSourceCodeGUI\create(), ilPCVerificationGUI\create(), ilPCLearningHistoryGUI\create(), ilPCPluggedGUI\createElement(), ilPCCurriculumGUI\createNewPageContent(), ilPCLauncherGUI\createNewPageContent(), ilPCPluggedGUI\edit(), ilPCPluggedGUI\executeCommand(), ilPCAMDFormGUI\getAdvRecords(), ilPCDataTableGUI\getNewTableObject(), ilPCAMDFormGUI\getPortfolioForm(), ilPCContentTemplateGUI\initForm(), ilPCAMDPageListGUI\initForm(), and ilPCAMDFormGUI\isTemplate().
Here is the caller graph for this function:| ilPageContentGUI::getPageConfig | ( | ) |
Definition at line 127 of file class.ilPageContentGUI.php.
References $page_config.
Referenced by ilPCPlaceHolderGUI\edit(), ilPCSkillsGUI\edit(), ilPCQuestionGUI\feedback(), ilPCConsultationHoursGUI\initForm(), ilPCProfileGUI\initForm(), and ilPCSkillsGUI\insert().
Here is the caller graph for this function:
|
protected |
Definition at line 511 of file class.ilPageContentGUI.php.
References $ctrl, $hier_id, and ilCtrl\getParentReturn().
Here is the call graph for this function:| ilPageContentGUI::getStyle | ( | ) |
Definition at line 147 of file class.ilPageContentGUI.php.
References $style, ilObject\_lookupType(), and getStyleId().
Referenced by getTemplateOptions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageContentGUI::getStyleId | ( | ) |
Reimplemented in ilPCPlaceHolderGUI.
Definition at line 142 of file class.ilPageContentGUI.php.
References $styleid.
Referenced by getCharacteristicsOfCurrentStyle(), and getStyle().
Here is the caller graph for this function:| ilPageContentGUI::getTemplateOptions | ( | string | $a_type = "" | ) |
Get table templates.
Reimplemented in ilPCTableGUI.
Definition at line 486 of file class.ilPageContentGUI.php.
References $style, getStyle(), and ilObjStyleSheet\getTemplates().
Here is the call graph for this function:| ilPageContentGUI::moveAfter | ( | ) |
move content element after another element
| ilCOPagePCEditException |
Definition at line 242 of file class.ilPageContentGUI.php.
References $updated, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPageContentGUI::moveBefore | ( | ) |
move content element before another element
| ilCOPagePCEditException |
Definition at line 301 of file class.ilPageContentGUI.php.
References $updated, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 501 of file class.ilPageContentGUI.php.
References $ctrl, and $hier_id.
Referenced by updateAndReturn().
Here is the caller graph for this function:| ilPageContentGUI::setCharacteristics | ( | array | $a_chars | ) |
Definition at line 203 of file class.ilPageContentGUI.php.
Referenced by ilPCDataTableGUI\__construct(), ilPCFileListGUI\__construct(), ilPCMediaObjectGUI\__construct(), ilPCParagraphGUI\__construct(), ilPCTableGUI\__construct(), ilPCSectionGUI\__construct(), getCharacteristicsOfCurrentStyle(), and ilPCTableGUI\setBasicTableCellStyles().
Here is the caller graph for this function:| ilPageContentGUI::setContentObject | ( | ilPageContent | $a_val | ) |
Definition at line 102 of file class.ilPageContentGUI.php.
|
protected |
Definition at line 532 of file class.ilPageContentGUI.php.
Referenced by ilPCSourceCodeGUI\create().
Here is the caller graph for this function:| ilPageContentGUI::setHierId | ( | string | $a_hier_id | ) |
set hierarchical id in dom object
Definition at line 221 of file class.ilPageContentGUI.php.
Referenced by ilPCGridGUI\afterCreation().
Here is the caller graph for this function:| ilPageContentGUI::setPage | ( | ilPageObject | $a_val | ) |
Definition at line 112 of file class.ilPageContentGUI.php.
| ilPageContentGUI::setPageConfig | ( | ilPageConfig | $a_val | ) |
Definition at line 122 of file class.ilPageContentGUI.php.
| ilPageContentGUI::setStyleId | ( | int | $a_styleid | ) |
Reimplemented in ilPCPlaceHolderGUI.
Definition at line 137 of file class.ilPageContentGUI.php.
| ilPageContentGUI::splitPage | ( | ) |
split page to new page at specified position
| ilCOPagePCEditException |
Definition at line 355 of file class.ilPageContentGUI.php.
References ilLMPageObject\_splitPage(), and ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPageContentGUI::splitPageNext | ( | ) |
split page to next page at specified position
| ilCOPagePCEditException |
Definition at line 379 of file class.ilPageContentGUI.php.
References ilLMPageObject\_splitPageNext(), and ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 521 of file class.ilPageContentGUI.php.
References redirectToParent().
Referenced by deactivate(), ilPCGridCellGUI\deleteCell(), ilPCTableDataGUI\deleteCol(), ilPCFileItemGUI\deleteItem(), ilPCListItemGUI\deleteItem(), ilPCTableDataGUI\deleteRow(), ilPCGridCellGUI\moveCellLeft(), ilPCGridCellGUI\moveCellRight(), ilPCTableDataGUI\moveColLeft(), ilPCTableDataGUI\moveColRight(), ilPCFileItemGUI\moveItemDown(), ilPCListItemGUI\moveItemDown(), ilPCFileItemGUI\moveItemUp(), ilPCListItemGUI\moveItemUp(), ilPCTableDataGUI\moveRowDown(), ilPCTableDataGUI\moveRowUp(), ilPCTableDataGUI\newColAfter(), ilPCTableDataGUI\newColBefore(), ilPCListItemGUI\newItemAfter(), ilPCListItemGUI\newItemBefore(), ilPCTableDataGUI\newRowAfter(), and ilPCTableDataGUI\newRowBefore().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 63 of file class.ilPageContentGUI.php.
Referenced by ilPCParagraphGUI\_getCharacteristics(), ilPCSectionGUI\_getCharacteristics(), and getCharacteristicsOfCurrentStyle().
|
protected |
Definition at line 33 of file class.ilPageContentGUI.php.
Referenced by ilPCParagraphGUI\_getCharacteristics(), ilPCSectionGUI\_getCharacteristics(), and getCharacteristicsOfCurrentStyle().
|
staticprotected |
Definition at line 56 of file class.ilPageContentGUI.php.
Referenced by _getCommonBBButtons().
| ilPageContent ilPageContentGUI::$content_obj |
Definition at line 35 of file class.ilPageContentGUI.php.
Referenced by deactivate(), getContentObject(), and ilPCAMDFormGUI\getPortfolioForm().
| ilCtrl ilPageContentGUI::$ctrl |
Definition at line 38 of file class.ilPageContentGUI.php.
Referenced by ilPCDataTableGUI\afterCreation(), ilPCQuestionGUI\copyQuestion(), ilPCGridGUI\deleteCells(), ilPCQuestionGUI\edit(), ilPCLoginPageElementGUI\edit(), ilPCPluggedGUI\edit(), ilPCResourcesGUI\edit(), ilPCPluggedGUI\executeCommand(), ilPCQuestionGUI\executeCommand(), ilPCQuestionGUI\feedback(), getParentReturn(), ilPCAMDFormGUI\getPortfolioForm(), ilPCAMDFormGUI\getTemplateForm(), ilPCFileItemGUI\initAddFileForm(), ilPCMyCoursesGUI\initForm(), ilPCContentTemplateGUI\initForm(), ilPCConsultationHoursGUI\initForm(), ilPCAMDPageListGUI\initForm(), ilPCBlogGUI\initForm(), ilPCProfileGUI\initForm(), ilPCLearningHistoryGUI\initForm(), ilPCMapGUI\initForm(), ilPCQuestionGUI\insert(), ilPCContentIncludeGUI\insertFromPool(), ilPCFileItemGUI\insertFromRepository(), ilPCFileListGUI\insertFromRepository(), ilPCFileItemGUI\insertFromWorkspace(), ilPCQuestionGUI\listPoolQuestions(), ilPCContentIncludeGUI\poolSelection(), ilPCQuestionGUI\poolSelection(), redirectToParent(), ilPCContentIncludeGUI\selectPool(), ilPCQuestionGUI\selectPool(), ilPCQuestionGUI\setInsertTabs(), ilPCQuestionGUI\setTabs(), ilPCFileItemGUI\setTabs(), ilPCDataTableGUI\tableAction(), and ilPCDataTableGUI\updateJS().
| php4DOMDocument ilPageContentGUI::$dom |
Definition at line 41 of file class.ilPageContentGUI.php.
|
protected |
Definition at line 31 of file class.ilPageContentGUI.php.
| string ilPageContentGUI::$hier_id = "" |
Definition at line 40 of file class.ilPageContentGUI.php.
Referenced by getHierId(), getParentReturn(), and redirectToParent().
| ilLanguage ilPageContentGUI::$lng |
Definition at line 37 of file class.ilPageContentGUI.php.
Referenced by __construct(), ilPCParagraphGUI\_getStandardCharacteristics(), ilPCSectionGUI\_getStandardCharacteristics(), ilPCAMDFormGUI\create(), ilPCLoginPageElementGUI\edit(), ilPCResourcesGUI\edit(), ilPCPluggedGUI\executeCommand(), ilPCLearningHistoryGUI\getPlaceholderPresentation(), ilPCAMDFormGUI\getPortfolioForm(), ilPCInteractiveImageGUI\getTabs(), ilPCFileItemGUI\initAddFileForm(), ilPCGridGUI\initCreationForm(), ilPCContentTemplateGUI\initForm(), ilPCLearningHistoryGUI\initForm(), ilPCMapGUI\initForm(), ilPCQuestionGUI\insert(), ilPCContentIncludeGUI\insertFromPool(), ilPCQuestionGUI\listPoolQuestions(), ilPCFileItemGUI\newFileItem(), ilPCQuestionGUI\setInsertTabs(), ilPCAMDFormGUI\update(), ilPCDataTableGUI\update(), ilPCAMDFormGUI\updateAdvancedMetaData(), and ilPCDataTableGUI\updateJS().
|
protected |
Definition at line 47 of file class.ilPageContentGUI.php.
| ilPageConfig ilPageContentGUI::$page_config = null |
Definition at line 46 of file class.ilPageContentGUI.php.
Referenced by getPageConfig().
|
protected |
Definition at line 32 of file class.ilPageContentGUI.php.
Referenced by ilPCMediaObjectGUI\__construct().
| ilPageObject ilPageContentGUI::$pg_obj |
Definition at line 39 of file class.ilPageContentGUI.php.
Referenced by getPage().
|
protected |
Definition at line 49 of file class.ilPageContentGUI.php.
Referenced by ilPCMediaObjectGUI\__construct(), ilPCParagraphGUI\_getCharacteristics(), ilPCSectionGUI\_getCharacteristics(), ilPCAMDFormGUI\create(), and ilPCAMDFormGUI\update().
|
protected |
Definition at line 51 of file class.ilPageContentGUI.php.
Referenced by ilPCParagraphGUI\_getCharacteristics(), ilPCSectionGUI\_getCharacteristics(), ilPCResourcesGUI\edit(), and ilPCAMDFormGUI\getAdvRecords().
| string ilPageContentGUI::$return_location = "" |
Definition at line 45 of file class.ilPageContentGUI.php.
|
protected |
Definition at line 34 of file class.ilPageContentGUI.php.
Referenced by ilPCSectionGUI\_getCharacteristics(), getStyle(), and getTemplateOptions().
|
static |
Definition at line 53 of file class.ilPageContentGUI.php.
|
protected |
Definition at line 48 of file class.ilPageContentGUI.php.
Referenced by getStyleId(), and ilPCPlaceHolderGUI\getStyleId().
|
protected |
Definition at line 50 of file class.ilPageContentGUI.php.
Referenced by ilPCQuestionGUI\executeCommand(), ilPCMediaObjectGUI\insert(), ilPCFileListGUI\insert(), ilPCFileItemGUI\newItemAfter(), and ilPCFileItemGUI\newItemBefore().
| string ilPageContentGUI::$target_script = "" |
Definition at line 44 of file class.ilPageContentGUI.php.
| ilGlobalTemplateInterface ilPageContentGUI::$tpl |
Definition at line 36 of file class.ilPageContentGUI.php.
Referenced by ilPCAMDFormGUI\create(), ilPCContentTemplateGUI\create(), ilPCListGUI\create(), ilPCMapGUI\create(), ilPCMapGUI\edit(), ilPCLoginPageElementGUI\edit(), ilPCPluggedGUI\edit(), ilPCResourcesGUI\edit(), ilPCConsultationHoursGUI\edit(), ilPCMyCoursesGUI\edit(), ilPCAMDPageListGUI\edit(), ilPCBlogGUI\edit(), ilPCProfileGUI\edit(), ilPCSkillsGUI\edit(), ilPCLearningHistoryGUI\edit(), ilPCAMDFormGUI\editPortfolio(), ilPCAMDFormGUI\editTemplate(), ilPCContentTemplateGUI\insert(), ilPCMapGUI\insert(), ilPCAMDFormGUI\insert(), ilPCConsultationHoursGUI\insert(), ilPCMyCoursesGUI\insert(), ilPCAMDPageListGUI\insert(), ilPCBlogGUI\insert(), ilPCProfileGUI\insert(), ilPCSkillsGUI\insert(), ilPCLearningHistoryGUI\insert(), ilPCContentIncludeGUI\insertFromPool(), ilPCFileItemGUI\insertFromRepository(), ilPCFileListGUI\insertFromRepository(), ilPCFileItemGUI\insertFromWorkspace(), ilPCQuestionGUI\listPoolQuestions(), ilPCContentIncludeGUI\poolSelection(), ilPCQuestionGUI\poolSelection(), ilPCListGUI\saveProperties(), ilPCAMDFormGUI\update(), and ilPCMapGUI\update().
| ilPageContentGUI::$updated |
Definition at line 43 of file class.ilPageContentGUI.php.
Referenced by cut(), delete(), moveAfter(), and moveBefore().