ILIAS
Release_4_0_x_branch Revision 61816
|
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. | |
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 62 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 461 of file class.ilPageContentGUI.php.
ilPageContentGUI::cancelUpdate | ( | ) |
cancel update
Reimplemented in ilPCSourcecodeGUI.
Definition at line 469 of file class.ilPageContentGUI.php.
ilPageContentGUI::deactivate | ( | ) |
gui function set enabled if is not enabled and vice versa
Definition at line 479 of file class.ilPageContentGUI.php.
References $_SESSION, $content_obj, and $updated.
ilPageContentGUI::delete | ( | ) |
delete content element
Definition at line 251 of file class.ilPageContentGUI.php.
ilPageContentGUI::displayValidationError | ( | ) |
display validation errors
Definition at line 436 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\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 191 of file class.ilPageContentGUI.php.
References $lng, getStyle(), and ilPageEditorSettings\lookupSettingByParentType().
Referenced by ilPCParagraphGUI\edit(), and ilPCDataTableGUI\editData().
ilPageContentGUI::getCharacteristics | ( | ) |
Get characteristics.
Definition at line 155 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 108 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::getHierId | ( | ) |
get hierarchical id in dom object
Definition at line 175 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 91 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 83 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 504 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 268 of file class.ilPageContentGUI.php.
References $_POST, $_SESSION, and $updated.
ilPageContentGUI::moveBefore | ( | ) |
move content element before another element
Definition at line 325 of file class.ilPageContentGUI.php.
References $_POST, $_SESSION, and $updated.
ilPageContentGUI::setCharacteristics | ( | $a_chars | ) |
Set Characteristics.
Definition at line 147 of file class.ilPageContentGUI.php.
Referenced by getCharacteristicsOfCurrentStyle(), ilPCDataTableGUI\ilPCDataTableGUI(), ilPCFileListGUI\ilPCFileListGUI(), ilPCMediaObjectGUI\ilPCMediaObjectGUI(), ilPCParagraphGUI\ilPCParagraphGUI(), ilPCSectionGUI\ilPCSectionGUI(), ilPCTableGUI\ilPCTableGUI(), and ilPCTableGUI\setBasicTableCellStyles().
ilPageContentGUI::setHierId | ( | $a_hier_id | ) |
get hierarchical id in dom object
Definition at line 183 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 73 of file class.ilPageContentGUI.php.
ilPageContentGUI::splitPage | ( | ) |
split page to new page at specified position
Definition at line 381 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 407 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\_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\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(), ilPCMediaObjectGUI\selectObjectReference(), ilPCTableGUI\setCellPropertiesSubTabs(), ilPCTableGUI\setSpans(), ilPCTableGUI\setStyles(), ilPCTableGUI\setTabs(), ilPCQuestionGUI\setTabs(), ilPCFileListGUI\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\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().