ILIAS
eassessment Revision 61809
|
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 | |
deactivate () | |
gui function set enabled if is not enabled and vice versa | |
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 ilObjAdvancedEditingGUI\initPageEditorForm(), and ilObjAdvancedEditingGUI\savePageEditorSettingsObject().
ilPageContentGUI::cancelCreate | ( | ) |
cancel creating page content
Reimplemented in ilPCSourcecodeGUI.
Definition at line 524 of file class.ilPageContentGUI.php.
ilPageContentGUI::cancelUpdate | ( | ) |
cancel update
Reimplemented in ilPCSourcecodeGUI.
Definition at line 532 of file class.ilPageContentGUI.php.
ilPageContentGUI::deactivate | ( | ) |
gui function set enabled if is not enabled and vice versa
Definition at line 542 of file class.ilPageContentGUI.php.
References $_SESSION, $content_obj, and $updated.
ilPageContentGUI::delete | ( | ) |
delete content element
Definition at line 314 of file class.ilPageContentGUI.php.
ilPageContentGUI::displayValidationError | ( | ) |
display validation errors
Definition at line 499 of file class.ilPageContentGUI.php.
References $error.
Referenced by ilPCMediaObjectGUI\changeObjectReference(), ilPCMapGUI\create(), ilPCResourcesGUI\edit(), ilPCTabsGUI\edit(), ilPCSourcecodeGUI\edit(), ilPCMapGUI\edit(), ilPCListGUI\edit(), ilPCPluggedGUI\edit(), ilPCSectionGUI\edit(), ilPCTableGUI\edit(), ilPCParagraphGUI\edit(), ilPCFileListGUI\edit(), ilPCTableGUI\editCellAlignment(), ilPCTableGUI\editCellSpan(), ilPCTableGUI\editCellStyle(), ilPCTableGUI\editCellWidth(), ilPCDataTableGUI\editData(), ilPCMediaObjectGUI\editStyle(), ilPCTabsGUI\insert(), ilPCListGUI\insert(), ilPCFileListGUI\insert(), ilPCMapGUI\insert(), ilPCQuestionGUI\insert(), ilPCMediaObjectGUI\insert(), ilPCSourcecodeGUI\insert(), ilPCTableGUI\insert(), 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 $lng, getEnableAnchors(), getEnableInternalLinks(), getEnableKeywords(), getStyle(), and ilPageEditorSettings\lookupSettingByParentType().
Referenced by ilPCParagraphGUI\edit(), and ilPCDataTableGUI\editData().
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 ilPCMediaObjectGUI\centerAlign(), ilPCParagraphGUI\edit(), ilPCMediaObjectGUI\getAliasValues(), ilPCMediaObjectGUI\initAliasForm(), ilPCMediaObjectGUI\leftAlign(), ilPCMediaObjectGUI\leftFloatAlign(), ilPCMediaObjectGUI\rightAlign(), ilPCMediaObjectGUI\rightFloatAlign(), and ilPCMediaObjectGUI\saveAliasProperties().
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 getCharacteristicsOfCurrentStyle(), ilPCTabsGUI\getFormValues(), ilPCTableGUI\getPropertiesFormValues(), getStyle(), and ilPCTableGUI\renderTable().
ilPageContentGUI::getTemplateOptions | ( | $a_type | ) |
Get table templates.
Definition at line 567 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 ilPCContentIncludeGUI\ilPCContentIncludeGUI(), ilPCDataTableGUI\ilPCDataTableGUI(), ilPCFileItemGUI\ilPCFileItemGUI(), ilPCFileListGUI\ilPCFileListGUI(), ilPCListGUI\ilPCListGUI(), ilPCListItemGUI\ilPCListItemGUI(), ilPCMapGUI\ilPCMapGUI(), ilPCMediaObjectGUI\ilPCMediaObjectGUI(), ilPCParagraphGUI\ilPCParagraphGUI(), ilPCPlaceHolderGUI\ilPCPlaceHolderGUI(), ilPCPluggedGUI\ilPCPluggedGUI(), ilPCQuestionGUI\ilPCQuestionGUI(), ilPCResourcesGUI\ilPCResourcesGUI(), ilPCSectionGUI\ilPCSectionGUI(), ilPCSourcecodeGUI\ilPCSourcecodeGUI(), ilPCTableDataGUI\ilPCTableDataGUI(), ilPCTableGUI\ilPCTableGUI(), and ilPCTabsGUI\ilPCTabsGUI().
ilPageContentGUI::moveAfter | ( | ) |
move content element after another element
Definition at line 331 of file class.ilPageContentGUI.php.
References $_POST, $_SESSION, and $updated.
ilPageContentGUI::moveBefore | ( | ) |
move content element before another element
Definition at line 388 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(), 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 444 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 470 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 ilPCMediaObjectGUI\create(), 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(), 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(), ilPCTabsGUI\addTab(), ilPCMediaObjectGUI\changeObjectReference(), ilPCTabsGUI\confirmTabsDeletion(), ilPCListGUI\create(), ilPCContentIncludeGUI\create(), ilPCQuestionGUI\create(), ilPCTabsGUI\create(), ilPCMediaObjectGUI\create(), ilPCTableGUI\create(), ilPCFileListGUI\createFileItem(), ilPCResourcesGUI\edit(), ilPCTabsGUI\edit(), ilPCMapGUI\edit(), ilPCPluggedGUI\edit(), ilPCSectionGUI\edit(), ilPCTableGUI\edit(), ilPCTableGUI\editCellAlignment(), ilPCTableGUI\editCellSpan(), ilPCTableGUI\editCellStyle(), ilPCTableGUI\editCellWidth(), ilPCDataTableGUI\editData(), ilPCMediaObjectGUI\editStyle(), ilPCMediaObjectGUI\executeCommand(), ilPCMediaObjectGUI\getAliasValues(), getBBMenu(), ilPageContentGUI(), ilPCMediaObjectGUI\initAliasForm(), ilPCTabsGUI\initForm(), ilPCMapGUI\initForm(), ilPCListGUI\initListForm(), ilPCTableGUI\initPropertiesForm(), ilPCQuestionGUI\insert(), ilPCMediaObjectGUI\insert(), ilPCTableGUI\insert(), ilPCContentIncludeGUI\insertFromPool(), ilPCMediaObjectGUI\insertFromPool(), ilPCParagraphGUI\insertHelp(), ilPCFileItemGUI\newFileItem(), ilPCPlaceHolderGUI\propertyGUI(), ilPCListGUI\saveProperties(), ilPCTabsGUI\saveTabs(), ilPCMediaObjectGUI\selectObjectReference(), ilPCTableGUI\setAlignment(), ilPCTableGUI\setCellPropertiesSubTabs(), ilPCTableGUI\setSpans(), ilPCTableGUI\setStyles(), ilPCTableGUI\setTabs(), ilPCFileListGUI\setTabs(), ilPCQuestionGUI\setTabs(), ilPCTabsGUI\setTabs(), ilPCTableGUI\setWidths(), ilPCPlaceHolderGUI\textCOSelectionGUI(), and ilPCDataTableGUI\update().
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 ilPCTabsGUI\confirmTabsDeletion(), ilPCListGUI\create(), ilPCMapGUI\create(), ilPCResourcesGUI\edit(), ilPCTabsGUI\edit(), ilPCMapGUI\edit(), ilPCPluggedGUI\edit(), ilPCSectionGUI\edit(), ilPCTableGUI\edit(), ilPCParagraphGUI\edit(), ilPCMediaObjectGUI\editAlias(), ilPCTableGUI\editCellAlignment(), ilPCTableGUI\editCellSpan(), ilPCTableGUI\editCellStyle(), ilPCTableGUI\editCellWidth(), ilPCDataTableGUI\editData(), ilPCFileListGUI\editFiles(), ilPCMediaObjectGUI\editStyle(), ilPCTabsGUI\editTabs(), ilPCMediaObjectGUI\executeCommand(), ilPCListGUI\getValues(), ilPageContentGUI(), ilPCTabsGUI\initForm(), ilPCTableGUI\initPropertiesForm(), ilPCTabsGUI\insert(), ilPCMapGUI\insert(), ilPCMediaObjectGUI\insert(), ilPCTableGUI\insert(), ilPCContentIncludeGUI\insertFromPool(), ilPCMediaObjectGUI\insertFromPool(), ilPCFileItemGUI\insertFromRepository(), ilPCFileListGUI\insertFromRepository(), ilPCContentIncludeGUI\poolSelection(), ilPCMediaObjectGUI\poolSelection(), ilPCListGUI\saveProperties(), and ilPCMapGUI\update().
ilPageContentGUI::$updated |
Definition at line 24 of file class.ilPageContentGUI.php.
Referenced by deactivate(), delete(), moveAfter(), and moveBefore().