ILIAS
release_4-3 Revision
|
User Interface for Editing of Page Content Objects (Paragraphs, Tables, ...) More...
Public Member Functions | |
ilPageContentGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id=0, $a_pc_id="") | |
Constructor public. | |
setStyleId ($a_styleid) | |
Set Style Id. | |
getStyleId () | |
Get Style Id. | |
setEnableInternalLinks ($a_val) | |
Set enable internal links. | |
getEnableInternalLinks () | |
Get enable internal links. | |
setEnableKeywords ($a_val) | |
Set enable keywords handling. | |
getEnableKeywords () | |
Get enable keywords handling. | |
setEnableAnchors ($a_val) | |
Set enable anchors. | |
getEnableAnchors () | |
Get enable anchors. | |
getStyle () | |
Get style object. | |
setCharacteristics ($a_chars) | |
Set Characteristics. | |
getCharacteristics () | |
Get characteristics. | |
getHierId () | |
get hierarchical id in dom object | |
setHierId ($a_hier_id) | |
get hierarchical id in dom object | |
getBBMenu ($a_ta_name="par_content") | |
Get the bb menu incl. | |
delete () | |
delete content element | |
moveAfter () | |
move content element after another element | |
moveBefore () | |
move content element before another element | |
splitPage () | |
split page to new page at specified position | |
splitPageNext () | |
split page to next page at specified position | |
displayValidationError () | |
display validation errors | |
cancelCreate () | |
cancel creating page content | |
cancelUpdate () | |
cancel update | |
cancel () | |
Cancel. | |
deactivate () | |
gui function set enabled if is not enabled and vice versa | |
cut () | |
Cut single element. | |
copy () | |
Copy single element. | |
getTemplateOptions ($a_type) | |
Get table templates. |
Static Public Member Functions | |
static | _getCommonBBButtons () |
Get common bb buttons. |
Data Fields | |
$content_obj | |
$ilias | |
$tpl | |
$lng | |
$ctrl | |
$pg_obj | |
$hier_id | |
$dom | |
$updated | |
$target_script | |
$return_location |
Protected Member Functions | |
getCharacteristicsOfCurrentStyle ($a_type) | |
Get characteristics of current style. |
Static Protected Attributes | |
static | $common_bb_buttons |
User Interface for Editing of Page Content Objects (Paragraphs, Tables, ...)
Definition at line 14 of file class.ilPageContentGUI.php.
|
static |
Get common bb buttons.
Definition at line 61 of file class.ilPageContentGUI.php.
References $common_bb_buttons.
Referenced by ilPageObjectGUI\getTinyMenu(), ilPCParagraph\handleAjaxContent(), ilObjAdvancedEditingGUI\initPageEditorForm(), ilObjAdvancedEditingGUI\savePageEditorSettingsObject(), and ilPCParagraphGUI\xml2outputJS().
ilPageContentGUI::cancel | ( | ) |
Cancel.
Reimplemented in ilPCParagraphGUI, and ilPCPlaceHolderGUI.
Definition at line 555 of file class.ilPageContentGUI.php.
ilPageContentGUI::cancelCreate | ( | ) |
cancel creating page content
Reimplemented in ilPCSourcecodeGUI.
Definition at line 539 of file class.ilPageContentGUI.php.
ilPageContentGUI::cancelUpdate | ( | ) |
cancel update
Reimplemented in ilPCSourcecodeGUI.
Definition at line 547 of file class.ilPageContentGUI.php.
ilPageContentGUI::copy | ( | ) |
Copy single element.
Definition at line 612 of file class.ilPageContentGUI.php.
References $content_obj, $lng, and ilUtil\sendSuccess().
ilPageContentGUI::cut | ( | ) |
Cut single element.
Definition at line 589 of file class.ilPageContentGUI.php.
References $_SESSION, $content_obj, $lng, $updated, and ilUtil\sendSuccess().
ilPageContentGUI::deactivate | ( | ) |
gui function set enabled if is not enabled and vice versa
Definition at line 564 of file class.ilPageContentGUI.php.
References $_SESSION, $content_obj, and $updated.
ilPageContentGUI::delete | ( | ) |
delete content element
Definition at line 329 of file class.ilPageContentGUI.php.
ilPageContentGUI::displayValidationError | ( | ) |
display validation errors
Definition at line 514 of file class.ilPageContentGUI.php.
Referenced by ilPCMediaObjectGUI\changeObjectReference(), ilPCMapGUI\create(), ilPCQuestionOverviewGUI\edit(), ilPCResourcesGUI\edit(), ilPCSourcecodeGUI\edit(), ilPCLoginPageElementGUI\edit(), ilPCMapGUI\edit(), ilPCSkillsGUI\edit(), ilPCVerificationGUI\edit(), ilPCProfileGUI\edit(), ilPCBlogGUI\edit(), ilPCListGUI\edit(), ilPCPluggedGUI\edit(), ilPCSectionGUI\edit(), ilPCTableGUI\edit(), ilPCParagraphGUI\edit(), ilPCTableGUI\editCellAlignment(), ilPCTableGUI\editCellSpan(), ilPCTableGUI\editCellStyle(), ilPCTableGUI\editCellWidth(), ilPCDataTableGUI\editData(), ilPCDataTableGUI\editDataCl(), ilPCBlogGUI\editPosting(), ilPCTabsGUI\editProperties(), ilPCMediaObjectGUI\editStyle(), ilPCTabsGUI\insert(), ilPCListGUI\insert(), ilPCFileListGUI\insert(), ilPCMapGUI\insert(), ilPCProfileGUI\insert(), ilPCSkillsGUI\insert(), ilPCBlogGUI\insert(), ilPCVerificationGUI\insert(), ilPCInteractiveImageGUI\insert(), ilPCMediaObjectGUI\insert(), ilPCQuestionGUI\insert(), ilPCSourcecodeGUI\insert(), ilPCTableGUI\insert(), ilPCBlogGUI\insertPosting(), ilPCFileListGUI\newFileItem(), ilPCFileItemGUI\newItemAfter(), ilPCFileItemGUI\newItemBefore(), ilPCFileListGUI\selectFile(), and ilPCMapGUI\update().
ilPageContentGUI::getBBMenu | ( | $a_ta_name = "par_content" | ) |
Get the bb menu incl.
script
Definition at line 250 of file class.ilPageContentGUI.php.
References $ilCtrl, $lng, $mathJaxSetting, getEnableAnchors(), getEnableInternalLinks(), getEnableKeywords(), ilInternalLinkGUI\getInitHTML(), getStyle(), and ilPageEditorSettings\lookupSettingByParentType().
Referenced by ilPCParagraphGUI\edit(), and ilPCDataTableGUI\editDataCl().
ilPageContentGUI::getCharacteristics | ( | ) |
Get characteristics.
Definition at line 214 of file class.ilPageContentGUI.php.
Referenced by ilPCFileListGUI\checkStyleSelection(), ilPCMediaObjectGUI\checkStyleSelection(), ilPCSectionGUI\edit(), ilPCTableGUI\editCellStyle(), ilPCMediaObjectGUI\editStyle(), ilPCListGUI\initListForm(), ilPCTableGUI\initPropertiesForm(), ilPCParagraphGUI\insertCharacteristicTable(), and ilPCParagraphGUI\insertStyleSelectionList().
|
protected |
Get characteristics of current style.
Definition at line 167 of file class.ilPageContentGUI.php.
References ilObject\_lookupType(), getStyleId(), and setCharacteristics().
Referenced by ilPCTableGUI\editCellStyle(), ilPCFileListGUI\executeCommand(), ilPCDataTableGUI\executeCommand(), ilPCTableGUI\executeCommand(), ilPCMediaObjectGUI\executeCommand(), ilPCSectionGUI\executeCommand(), ilPCParagraphGUI\executeCommand(), ilPCListGUI\initListForm(), and ilPCTableGUI\initPropertiesForm().
ilPageContentGUI::getEnableAnchors | ( | ) |
Get enable anchors.
Definition at line 142 of file class.ilPageContentGUI.php.
Referenced by getBBMenu(), and ilPCPlaceHolderGUI\insertPCText().
ilPageContentGUI::getEnableInternalLinks | ( | ) |
Get enable internal links.
Definition at line 102 of file class.ilPageContentGUI.php.
Referenced by getBBMenu(), and ilPCPlaceHolderGUI\insertPCText().
ilPageContentGUI::getEnableKeywords | ( | ) |
Get enable keywords handling.
Definition at line 122 of file class.ilPageContentGUI.php.
Referenced by getBBMenu(), and ilPCPlaceHolderGUI\insertPCText().
ilPageContentGUI::getHierId | ( | ) |
get hierarchical id in dom object
Definition at line 234 of file class.ilPageContentGUI.php.
References $hier_id.
Referenced by ilPCInteractiveImageGUI\centerAlign(), ilPCMediaObjectGUI\centerAlign(), ilPCParagraphGUI\determineCharacteristic(), ilPCMediaObjectGUI\getAliasValues(), ilPCMediaObjectGUI\initAliasForm(), ilPCInteractiveImageGUI\initForm(), ilPCInteractiveImageGUI\leftAlign(), ilPCMediaObjectGUI\leftAlign(), ilPCInteractiveImageGUI\leftFloatAlign(), ilPCMediaObjectGUI\leftFloatAlign(), ilPCInteractiveImageGUI\rightAlign(), ilPCMediaObjectGUI\rightAlign(), ilPCInteractiveImageGUI\rightFloatAlign(), ilPCMediaObjectGUI\rightFloatAlign(), ilPCMediaObjectGUI\saveAliasProperties(), and ilPCInteractiveImageGUI\update().
ilPageContentGUI::getStyle | ( | ) |
Get style object.
Definition at line 150 of file class.ilPageContentGUI.php.
References ilObject\_lookupType(), and getStyleId().
Referenced by getBBMenu(), and getTemplateOptions().
ilPageContentGUI::getStyleId | ( | ) |
Get Style Id.
Reimplemented in ilPCPlaceHolderGUI.
Definition at line 82 of file class.ilPageContentGUI.php.
Referenced by ilPCDataTableGUI\editData(), getCharacteristicsOfCurrentStyle(), ilPCTabsGUI\getFormValues(), ilPCTableGUI\getPropertiesFormValues(), getStyle(), and ilPCTableGUI\renderTable().
ilPageContentGUI::getTemplateOptions | ( | $a_type | ) |
Get table templates.
Definition at line 628 of file class.ilPageContentGUI.php.
References $t, and getStyle().
Referenced by ilPCTabsGUI\initForm().
ilPageContentGUI::ilPageContentGUI | ( | & | $a_pg_obj, |
& | $a_content_obj, | ||
$a_hier_id = 0 , |
|||
$a_pc_id = "" |
|||
) |
Constructor public.
Definition at line 39 of file class.ilPageContentGUI.php.
References $ilCtrl, $ilias, $lng, and $tpl.
Referenced by ilPCInteractiveImageGUI\__construct(), ilPCBlogGUI\ilPCBlogGUI(), ilPCContentIncludeGUI\ilPCContentIncludeGUI(), ilPCDataTableGUI\ilPCDataTableGUI(), ilPCFileItemGUI\ilPCFileItemGUI(), ilPCFileListGUI\ilPCFileListGUI(), ilPCListGUI\ilPCListGUI(), ilPCListItemGUI\ilPCListItemGUI(), ilPCLoginPageElementGUI\ilPCLoginPageElementGUI(), ilPCMapGUI\ilPCMapGUI(), ilPCMediaObjectGUI\ilPCMediaObjectGUI(), ilPCParagraphGUI\ilPCParagraphGUI(), ilPCPlaceHolderGUI\ilPCPlaceHolderGUI(), ilPCPluggedGUI\ilPCPluggedGUI(), ilPCProfileGUI\ilPCProfileGUI(), ilPCQuestionGUI\ilPCQuestionGUI(), ilPCQuestionOverviewGUI\ilPCQuestionOverviewGUI(), ilPCResourcesGUI\ilPCResourcesGUI(), ilPCSectionGUI\ilPCSectionGUI(), ilPCSkillsGUI\ilPCSkillsGUI(), ilPCSourcecodeGUI\ilPCSourcecodeGUI(), ilPCTableDataGUI\ilPCTableDataGUI(), ilPCTableGUI\ilPCTableGUI(), ilPCTabsGUI\ilPCTabsGUI(), and ilPCVerificationGUI\ilPCVerificationGUI().
ilPageContentGUI::moveAfter | ( | ) |
move content element after another element
Definition at line 346 of file class.ilPageContentGUI.php.
References $_POST, $_SESSION, and $updated.
ilPageContentGUI::moveBefore | ( | ) |
move content element before another element
Definition at line 403 of file class.ilPageContentGUI.php.
References $_POST, $_SESSION, and $updated.
ilPageContentGUI::setCharacteristics | ( | $a_chars | ) |
Set Characteristics.
Definition at line 206 of file class.ilPageContentGUI.php.
Referenced by getCharacteristicsOfCurrentStyle(), ilPCDataTableGUI\ilPCDataTableGUI(), ilPCFileListGUI\ilPCFileListGUI(), ilPCMediaObjectGUI\ilPCMediaObjectGUI(), ilPCParagraphGUI\ilPCParagraphGUI(), ilPCSectionGUI\ilPCSectionGUI(), ilPCTableGUI\ilPCTableGUI(), and ilPCTableGUI\setBasicTableCellStyles().
ilPageContentGUI::setEnableAnchors | ( | $a_val | ) |
Set enable anchors.
boolean | anchors |
Definition at line 132 of file class.ilPageContentGUI.php.
ilPageContentGUI::setEnableInternalLinks | ( | $a_val | ) |
Set enable internal links.
boolean | enable internal links |
Definition at line 92 of file class.ilPageContentGUI.php.
ilPageContentGUI::setEnableKeywords | ( | $a_val | ) |
Set enable keywords handling.
boolean | keywords handling |
Definition at line 112 of file class.ilPageContentGUI.php.
ilPageContentGUI::setHierId | ( | $a_hier_id | ) |
get hierarchical id in dom object
Definition at line 242 of file class.ilPageContentGUI.php.
Referenced by ilPCTabsGUI\afterCreation(), ilPCDataTableGUI\afterCreation(), ilPCInteractiveImageGUI\create(), and ilPCMediaObjectGUI\create().
ilPageContentGUI::setStyleId | ( | $a_styleid | ) |
Set Style Id.
int | $a_styleid | Style Id |
Reimplemented in ilPCPlaceHolderGUI.
Definition at line 72 of file class.ilPageContentGUI.php.
ilPageContentGUI::splitPage | ( | ) |
split page to new page at specified position
Definition at line 459 of file class.ilPageContentGUI.php.
References $hier_id, $ilErr, and ilLMPageObject\_splitPage().
ilPageContentGUI::splitPageNext | ( | ) |
split page to next page at specified position
Definition at line 485 of file class.ilPageContentGUI.php.
References $hier_id, $ilErr, and ilLMPageObject\_splitPageNext().
|
staticprotected |
Definition at line 29 of file class.ilPageContentGUI.php.
Referenced by _getCommonBBButtons().
ilPageContentGUI::$content_obj |
Definition at line 16 of file class.ilPageContentGUI.php.
Referenced by copy(), ilPCMediaObjectGUI\create(), cut(), and deactivate().
ilPageContentGUI::$ctrl |
Definition at line 20 of file class.ilPageContentGUI.php.
ilPageContentGUI::$dom |
Definition at line 23 of file class.ilPageContentGUI.php.
ilPageContentGUI::$hier_id |
Definition at line 22 of file class.ilPageContentGUI.php.
Referenced by ilPCQuestionGUI\create(), getHierId(), splitPage(), and splitPageNext().
ilPageContentGUI::$ilias |
Definition at line 17 of file class.ilPageContentGUI.php.
Referenced by ilPCParagraphGUI\edit(), ilPCParagraphGUI\editJS(), ilPCParagraphGUI\editMultipleJS(), and ilPageContentGUI().
ilPageContentGUI::$lng |
Definition at line 19 of file class.ilPageContentGUI.php.
Referenced by ilPCTableGUI\_addAlignmentCheckboxes(), ilPCTableGUI\_addSpanInputs(), ilPCTableGUI\_addStyleCheckboxes(), ilPCTableGUI\_addWidthInputs(), ilPCSectionGUI\_getStandardCharacteristics(), ilPCParagraphGUI\_getStandardCharacteristics(), ilPCInteractiveImageGUI\addPopup(), ilPCTabsGUI\addTab(), ilPCMediaObjectGUI\changeObjectReference(), ilPCInteractiveImageGUI\confirmDeleteOverlays(), ilPCInteractiveImageGUI\confirmPopupDeletion(), ilPCTabsGUI\confirmTabsDeletion(), copy(), ilPCListGUI\create(), ilPCContentIncludeGUI\create(), ilPCQuestionGUI\create(), ilPCInteractiveImageGUI\create(), ilPCTabsGUI\create(), ilPCMediaObjectGUI\create(), ilPCTableGUI\create(), ilPCFileListGUI\createFileItem(), cut(), ilPCInteractiveImageGUI\deleteOverlays(), ilPCInteractiveImageGUI\deletePopups(), ilPCQuestionOverviewGUI\edit(), ilPCResourcesGUI\edit(), ilPCLoginPageElementGUI\edit(), ilPCMapGUI\edit(), ilPCPluggedGUI\edit(), ilPCSectionGUI\edit(), ilPCTableGUI\edit(), ilPCTabsGUI\edit(), ilPCInteractiveImageGUI\editBaseImage(), ilPCTableGUI\editCellAlignment(), ilPCTableGUI\editCellSpan(), ilPCTableGUI\editCellStyle(), ilPCTableGUI\editCellWidth(), ilPCDataTableGUI\editData(), ilPCDataTableGUI\editDataCl(), ilPCFileListGUI\editFiles(), ilPCTabsGUI\editProperties(), ilPCMediaObjectGUI\editStyle(), ilPCInteractiveImageGUI\executeCommand(), ilPCMediaObjectGUI\executeCommand(), ilPCMediaObjectGUI\getAliasValues(), getBBMenu(), ilPCParagraphGUI\getCharStyleSelector(), ilPCInteractiveImageGUI\getTabs(), ilPageContentGUI(), ilPCFileItemGUI\initAddFileForm(), ilPCInteractiveImageGUI\initAddOverlaysForm(), ilPCMediaObjectGUI\initAliasForm(), ilPCFileListGUI\initEditForm(), ilPCTabsGUI\initForm(), ilPCSkillsGUI\initForm(), ilPCBlogGUI\initForm(), ilPCVerificationGUI\initForm(), ilPCMapGUI\initForm(), ilPCInteractiveImageGUI\initForm(), ilPCListGUI\initListForm(), ilPCTableGUI\initPropertiesForm(), ilPCInteractiveImageGUI\insert(), ilPCMediaObjectGUI\insert(), ilPCQuestionGUI\insert(), ilPCTableGUI\insert(), ilPCContentIncludeGUI\insertFromPool(), ilPCMediaObjectGUI\insertFromPool(), ilPCQuestionGUI\insertFromPool(), ilPCParagraphGUI\insertHelp(), ilPCResourcesGUI\insertResourcesIntoPageContent(), ilPCInteractiveImageGUI\listContentPopups(), ilPCInteractiveImageGUI\listOverlayImages(), ilPCQuestionGUI\listPoolQuestions(), ilPCFileItemGUI\newFileItem(), ilPCPlaceHolderGUI\propertyGUI(), ilPCInteractiveImageGUI\savePopups(), ilPCListGUI\saveProperties(), ilPCTabsGUI\saveTabs(), ilPCMediaObjectGUI\selectObjectReference(), ilPCTableGUI\setAlignment(), ilPCTableGUI\setCellPropertiesSubTabs(), ilPCQuestionGUI\setInsertTabs(), ilPCTableGUI\setSpans(), ilPCTableGUI\setStyles(), ilPCTableGUI\setTabs(), ilPCQuestionGUI\setTabs(), ilPCFileListGUI\setTabs(), ilPCTabsGUI\setTabs(), ilPCTableGUI\setWidths(), ilPCPlaceHolderGUI\textCOSelectionGUI(), ilPCDataTableGUI\update(), ilPCInteractiveImageGUI\update(), ilPCDataTableGUI\updateJS(), and ilPCInteractiveImageGUI\uploadOverlayImages().
ilPageContentGUI::$pg_obj |
Definition at line 21 of file class.ilPageContentGUI.php.
ilPageContentGUI::$return_location |
Definition at line 26 of file class.ilPageContentGUI.php.
ilPageContentGUI::$target_script |
Definition at line 25 of file class.ilPageContentGUI.php.
ilPageContentGUI::$tpl |
Definition at line 18 of file class.ilPageContentGUI.php.
Referenced by ilPCInteractiveImageGUI\addOverlayImages(), ilPCInteractiveImageGUI\confirmDeleteOverlays(), ilPCInteractiveImageGUI\confirmPopupDeletion(), ilPCTabsGUI\confirmTabsDeletion(), ilPCListGUI\create(), ilPCMapGUI\create(), ilPCQuestionOverviewGUI\edit(), ilPCResourcesGUI\edit(), ilPCLoginPageElementGUI\edit(), ilPCMapGUI\edit(), ilPCVerificationGUI\edit(), ilPCProfileGUI\edit(), ilPCBlogGUI\edit(), ilPCSkillsGUI\edit(), ilPCPluggedGUI\edit(), ilPCSectionGUI\edit(), ilPCTableGUI\edit(), ilPCParagraphGUI\edit(), ilPCInteractiveImageGUI\edit(), ilPCTabsGUI\edit(), ilPCMediaObjectGUI\editAlias(), ilPCInteractiveImageGUI\editBaseImage(), ilPCTableGUI\editCellAlignment(), ilPCTableGUI\editCellSpan(), ilPCTableGUI\editCellStyle(), ilPCTableGUI\editCellWidth(), ilPCDataTableGUI\editData(), ilPCDataTableGUI\editDataCl(), ilPCFileListGUI\editFiles(), ilPCBlogGUI\editPosting(), ilPCTabsGUI\editProperties(), ilPCMediaObjectGUI\editStyle(), ilPCInteractiveImageGUI\executeCommand(), ilPCMediaObjectGUI\executeCommand(), ilPCListGUI\getValues(), ilPageContentGUI(), ilPCTabsGUI\initForm(), ilPCTableGUI\initPropertiesForm(), ilPCTabsGUI\insert(), ilPCMapGUI\insert(), ilPCProfileGUI\insert(), ilPCBlogGUI\insert(), ilPCVerificationGUI\insert(), ilPCSkillsGUI\insert(), ilPCInteractiveImageGUI\insert(), ilPCMediaObjectGUI\insert(), ilPCTableGUI\insert(), ilPCContentIncludeGUI\insertFromPool(), ilPCMediaObjectGUI\insertFromPool(), ilPCQuestionGUI\insertFromPool(), ilPCFileListGUI\insertFromRepository(), ilPCFileItemGUI\insertFromRepository(), ilPCFileListGUI\insertFromWorkspace(), ilPCFileItemGUI\insertFromWorkspace(), ilPCBlogGUI\insertPosting(), ilPCResourcesGUI\insertResourcesIntoPageContent(), ilPCInteractiveImageGUI\listContentPopups(), ilPCInteractiveImageGUI\listOverlayImages(), ilPCQuestionGUI\listPoolQuestions(), ilPCContentIncludeGUI\poolSelection(), ilPCMediaObjectGUI\poolSelection(), ilPCQuestionGUI\poolSelection(), ilPCListGUI\saveProperties(), and ilPCMapGUI\update().
ilPageContentGUI::$updated |
Definition at line 24 of file class.ilPageContentGUI.php.
Referenced by cut(), deactivate(), delete(), moveAfter(), and moveBefore().