|
ILIAS
Release_4_3_x_branch Revision 61807
|
Style settings GUI class. More...
Inheritance diagram for ilObjStyleSettingsGUI:
Collaboration diagram for ilObjStyleSettingsGUI:Public Member Functions | |
| ilObjStyleSettingsGUI ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true) | |
| Constructor. | |
| & | executeCommand () |
| Execute command. | |
| saveObject () | |
| Save object. | |
| editBasicSettingsObject () | |
| edit basic style settings | |
| saveBasicStyleSettingsObject () | |
| save basic style settings | |
| editContentStylesObject () | |
| view list of styles | |
| moveLMStylesObject () | |
| move learning modules from one style to another | |
| moveIndividualStylesObject () | |
| move all learning modules with individual styles to new style | |
| confirmDeleteIndividualStyles () | |
| editSystemStylesObject () | |
| edit system styles | |
| saveStyleSettingsObject () | |
| save skin and style settings | |
| moveUserStylesObject () | |
| Move user styles. | |
| deleteStyleObject ($a_error=false) | |
| display deletion confirmation screen | |
| confirmedDeleteObject () | |
| delete selected style objects | |
| toggleGlobalDefaultObject () | |
| Toggle global default style. | |
| toggleGlobalFixedObject () | |
| Toggle global fixed style. | |
| saveActiveStylesObject () | |
| Save active styles. | |
| showActions ($with_subobjects=false) | |
| show possible action (form buttons) | |
| cancelDeleteObject () | |
| cancel deletion of object | |
| setScopeObject () | |
| saveScopeObject () | |
| save scope for style | |
| viewPageLayoutsObject () | |
| view list of page layouts | |
| activateObject ($a_activate=true) | |
| deactivateObject () | |
| deletePglObject () | |
| display deletion confirmation screen | |
| cancelDeletePgObject () | |
| cancel deletion of Page Layout | |
| confirmedDeletePgObject () | |
| conform deletion of Page Layout | |
| addPageLayoutObject ($a_form=null) | |
| initAddPageLayoutForm () | |
| createPgObject () | |
| cancelCreateObject () | |
| editPgObject () | |
| setTabs () | |
| set admin tabs public | |
| getAdminTabs (&$tabs_gui) | |
| administration tabs show only permissions and trash folder | |
| getTabs (&$tabs_gui) | |
| get tabs public | |
| createStyleObject () | |
| Create new style. | |
| savePageLayoutTypesObject () | |
| Save page layout types. | |
| exportLayoutObject () | |
| Export page layout template object. | |
| importPageLayoutFormObject () | |
| Import page layout. | |
| initPageLayoutImportForm () | |
| Init page layout import form. | |
| importPageLayoutObject () | |
| Import page layout. | |
| assignStylesToCatsObject () | |
| Assign styles to cats. | |
| addStyleCatAssignmentObject () | |
| Add style category assignment. | |
| saveStyleCatAssignmentObject () | |
| Save style category assignment. | |
| deleteSysStyleCatAssignmentsObject () | |
| Delete system style to category assignments. | |
Public Member Functions inherited from ilObjectGUI | |
| ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
| Constructor public. | |
| withReferences () | |
| determines wether objects are referenced or not (got ref ids or not) | |
| setCreationMode ($a_mode=true) | |
| if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui | |
| getCreationMode () | |
| get creation mode | |
| getHTML () | |
| cancelObject ($in_rep=false) | |
| cancel action and go back to previous page public | |
| createObject () | |
| create new object form | |
| cancelCreation () | |
| cancel create action and go back to repository parent | |
| editObject () | |
| edit object | |
| updateObject () | |
| updates object entry in object_data | |
| getFormAction ($a_cmd, $a_formaction="") | |
| get form action for command (command is method name without "Object", e.g. | |
| isVisible ($a_ref_id, $a_type) | |
| viewObject () | |
| list childs of current object | |
| deleteObject ($a_error=false) | |
| Display deletion confirmation screen. | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. | |
Data Fields | |
| $peditor_active = false | |
| $pg_id = null | |
Data Fields inherited from ilObjectGUI | |
| const | COPY_WIZARD_NEEDS_PAGE = 1 |
| $ilias | |
| $objDefinition | |
| $tpl | |
| $tree | |
| $lng | |
| $data | |
| $object | |
| $ref_id | |
| $obj_id | |
| $maxcount | |
| $formaction | |
| $return_location | |
| $target_frame | |
| $tab_target_script | |
| $actions | |
| $sub_objects | |
| $omit_locator = false | |
| const | CFORM_NEW = 1 |
| const | CFORM_IMPORT = 2 |
| const | CFORM_CLONE = 3 |
Additional Inherited Members | |
Static Public Member Functions inherited from ilObjectGUI | |
| static | _gotoRepositoryRoot ($a_raise_error=false) |
| Goto repository root. | |
| static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
| Goto repository root. | |
Protected Member Functions inherited from ilObjectGUI | |
| assignObject () | |
| prepareOutput () | |
| prepare output | |
| setTitleAndDescription () | |
| called by prepare output | |
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
| Add header action menu. | |
| insertHeaderAction ($a_list_gui) | |
| Insert header action into main template. | |
| addHeaderAction () | |
| Add header action menu. | |
| redrawHeaderActionObject () | |
| Ajax call: redraw action header only. | |
| setAdminTabs () | |
| set admin tabs public | |
| setLocator () | |
| set Locator | |
| addLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| omitLocator ($a_omit=true) | |
| addAdminLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| initCreationForms ($a_new_type) | |
| Init creation froms. | |
| getCreationFormsHTML (array $a_forms) | |
| Get HTML for creation forms (accordion) | |
| initCreateForm ($a_new_type) | |
| Init object creation form. | |
| initDidacticTemplate (ilPropertyFormGUI $form) | |
| Show didactic template types. | |
| addDidacticTemplateOptions (array &$a_options) | |
| Add custom templates. | |
| getDidacticTemplateVar ($a_type) | |
| Get didactic template setting from creation screen. | |
| putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
| Add object to tree at given position. | |
| afterSave (ilObject $a_new_object) | |
| Post (successful) object creation hook. | |
| initEditForm () | |
| Init object edit form. | |
| initEditCustomForm (ilPropertyFormGUI $a_form) | |
| Add custom fields to update form. | |
| getEditFormValues () | |
| Get values for edit form. | |
| getEditFormCustomValues (array &$a_values) | |
| Add values to custom edit fields. | |
| updateCustom (ilPropertyFormGUI $a_form) | |
| Insert custom update form values into object. | |
| afterUpdate () | |
| Post (successful) object update hook. | |
| initImportForm ($a_new_type) | |
| Init object import form. | |
| importFileObject ($parent_id=null) | |
| Import. | |
| afterImport (ilObject $a_new_object) | |
| Post (successful) object import hook. | |
| setFormAction ($a_cmd, $a_formaction) | |
| set specific form action for command | |
| getReturnLocation ($a_cmd, $a_location="") | |
| get return location for command (command is method name without "Object", e.g. | |
| setReturnLocation ($a_cmd, $a_location) | |
| set specific return location for command | |
| getTargetFrame ($a_cmd, $a_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. | |
| setTargetFrame ($a_cmd, $a_target_frame) | |
| set specific target frame for command | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) | |
| getTemplateFile ($a_cmd, $a_type="") | |
| get a template blockfile format: tpl. | |
| getTitlesByRefId ($a_ref_ids) | |
| get Titles of objects this method is used for error messages in methods cut/copy/paste | |
| __showButton ($a_cmd, $a_text, $a_target= '') | |
| hitsperpageObject () | |
| & | __initTableGUI () |
| __setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
| standard implementation for tables use 'from' variable use different initial setting of table | |
| __showClipboardTable ($a_result_set, $a_from="") | |
| redirectToRefId ($a_ref_id, $a_cmd="") | |
| redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value | |
| fillCloneTemplate ($a_tpl_varname, $a_type) | |
| Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. | |
| getCenterColumnHTML () | |
| Get center column. | |
| getRightColumnHTML () | |
| Display right column. | |
| setColumnSettings ($column_gui) | |
| May be overwritten in subclasses. | |
| checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission and redirect on error. | |
| checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission. | |
Style settings GUI class.
ilObjStyleSettingsGUI: ilPermissionGUI, ilPageLayoutGUI
Definition at line 17 of file class.ilObjStyleSettingsGUI.php.
| ilObjStyleSettingsGUI::activateObject | ( | $a_activate = true | ) |
Definition at line 736 of file class.ilObjStyleSettingsGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
Referenced by deactivateObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSettingsGUI::addPageLayoutObject | ( | $a_form = null | ) |
Definition at line 817 of file class.ilObjStyleSettingsGUI.php.
References initAddPageLayoutForm().
Referenced by createPgObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSettingsGUI::addStyleCatAssignmentObject | ( | ) |
Add style category assignment.
| @return |
Definition at line 1217 of file class.ilObjStyleSettingsGUI.php.
References $_GET, $_REQUEST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\$tree, and ilExplorer\setExpand().
Here is the call graph for this function:| ilObjStyleSettingsGUI::assignStylesToCatsObject | ( | ) |
Assign styles to cats.
| @return |
Definition at line 1172 of file class.ilObjStyleSettingsGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $si, $tab, ilObjectGUI\$tpl, and ilStyleDefinition\getAllSkinStyles().
Here is the call graph for this function:| ilObjStyleSettingsGUI::cancelCreateObject | ( | ) |
Definition at line 959 of file class.ilObjStyleSettingsGUI.php.
References viewPageLayoutsObject().
Here is the call graph for this function:| ilObjStyleSettingsGUI::cancelDeleteObject | ( | ) |
cancel deletion of object
public
Reimplemented from ilObjectGUI.
Definition at line 651 of file class.ilObjStyleSettingsGUI.php.
References ilUtil\sendInfo().
Here is the call graph for this function:| ilObjStyleSettingsGUI::cancelDeletePgObject | ( | ) |
cancel deletion of Page Layout
Definition at line 797 of file class.ilObjStyleSettingsGUI.php.
References ilUtil\sendInfo().
Here is the call graph for this function:| ilObjStyleSettingsGUI::confirmDeleteIndividualStyles | ( | ) |
Definition at line 317 of file class.ilObjStyleSettingsGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilObject\_lookupTitle().
Referenced by moveLMStylesObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSettingsGUI::confirmedDeleteObject | ( | ) |
delete selected style objects
Reimplemented from ilObjectGUI.
Definition at line 509 of file class.ilObjStyleSettingsGUI.php.
References $_POST, ilObjectGUI\$ilias, ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
Here is the call graph for this function:| ilObjStyleSettingsGUI::confirmedDeletePgObject | ( | ) |
conform deletion of Page Layout
Definition at line 806 of file class.ilObjStyleSettingsGUI.php.
References $_POST.
| ilObjStyleSettingsGUI::createPgObject | ( | ) |
Definition at line 914 of file class.ilObjStyleSettingsGUI.php.
References $ilCtrl, addPageLayoutObject(), and initAddPageLayoutForm().
Here is the call graph for this function:| ilObjStyleSettingsGUI::createStyleObject | ( | ) |
Create new style.
Definition at line 1029 of file class.ilObjStyleSettingsGUI.php.
References $ilCtrl.
| ilObjStyleSettingsGUI::deactivateObject | ( | ) |
Definition at line 751 of file class.ilObjStyleSettingsGUI.php.
References activateObject().
Here is the call graph for this function:| ilObjStyleSettingsGUI::deletePglObject | ( | ) |
display deletion confirmation screen
Definition at line 760 of file class.ilObjStyleSettingsGUI.php.
References $_POST, and ilUtil\getImageTagByType().
Here is the call graph for this function:| ilObjStyleSettingsGUI::deleteStyleObject | ( | $a_error = false | ) |
display deletion confirmation screen
public
Definition at line 479 of file class.ilObjStyleSettingsGUI.php.
References $_POST, and ilUtil\getImageTagByType().
Here is the call graph for this function:| ilObjStyleSettingsGUI::deleteSysStyleCatAssignmentsObject | ( | ) |
Delete system style to category assignments.
Definition at line 1272 of file class.ilObjStyleSettingsGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilStyleDefinition\deleteSystemStyleCategoryAssignment(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjStyleSettingsGUI::editBasicSettingsObject | ( | ) |
edit basic style settings
Definition at line 115 of file class.ilObjStyleSettingsGUI.php.
| ilObjStyleSettingsGUI::editContentStylesObject | ( | ) |
view list of styles
Definition at line 209 of file class.ilObjStyleSettingsGUI.php.
References ilObjectGUI\$data, $ilCtrl, ilObjectGUI\$ilias, ilObjectGUI\$lng, $si, ilObjectGUI\$tpl, ilObjContentObject\_getNrLMsIndividualStyles(), ilObjContentObject\_getNrLMsNoStyle(), ilObjContentObject\_getNrOfAssignedLMs(), and ilObjStyleSheet\_lookupActive().
Here is the call graph for this function:| ilObjStyleSettingsGUI::editPgObject | ( | ) |
Definition at line 963 of file class.ilObjStyleSettingsGUI.php.
References $ilCtrl, and executeCommand().
Here is the call graph for this function:| ilObjStyleSettingsGUI::editSystemStylesObject | ( | ) |
edit system styles
Definition at line 338 of file class.ilObjStyleSettingsGUI.php.
References $ilCtrl, ilObjectGUI\$ilias, ilObjectGUI\$lng, $si, $tab, ilObjectGUI\$tpl, and ilStyleDefinition\getAllSkinStyles().
Here is the call graph for this function:| & ilObjStyleSettingsGUI::executeCommand | ( | ) |
Execute command.
Reimplemented from ilObjectGUI.
Definition at line 46 of file class.ilObjStyleSettingsGUI.php.
References $_GET, $cmd, $ret, and ilObjectGUI\prepareOutput().
Referenced by editPgObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSettingsGUI::exportLayoutObject | ( | ) |
Export page layout template object.
Definition at line 1077 of file class.ilObjStyleSettingsGUI.php.
References $_GET, ilUtil\deliverFile(), ilUtil\ilTempnam(), and ilUtil\makeDir().
Here is the call graph for this function:| ilObjStyleSettingsGUI::getAdminTabs | ( | & | $tabs_gui | ) |
administration tabs show only permissions and trash folder
Reimplemented from ilObjectGUI.
Definition at line 983 of file class.ilObjStyleSettingsGUI.php.
References getTabs().
Here is the call graph for this function:| ilObjStyleSettingsGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs public
| object | tabs gui object |
Reimplemented from ilObjectGUI.
Definition at line 993 of file class.ilObjStyleSettingsGUI.php.
References ilObjectGUI\$lng.
Referenced by getAdminTabs().
Here is the caller graph for this function:| ilObjStyleSettingsGUI::ilObjStyleSettingsGUI | ( | $a_data, | |
| $a_id, | |||
| $a_call_by_reference, | |||
$a_prepare_output = true |
|||
| ) |
Constructor.
Definition at line 26 of file class.ilObjStyleSettingsGUI.php.
References $cmd, $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
Here is the call graph for this function:| ilObjStyleSettingsGUI::importPageLayoutFormObject | ( | ) |
Import page layout.
Definition at line 1106 of file class.ilObjStyleSettingsGUI.php.
References ilObjectGUI\$tpl, and initPageLayoutImportForm().
Here is the call graph for this function:| ilObjStyleSettingsGUI::importPageLayoutObject | ( | ) |
Import page layout.
Definition at line 1143 of file class.ilObjStyleSettingsGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilPageLayout\import(), initPageLayoutImportForm(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjStyleSettingsGUI::initAddPageLayoutForm | ( | ) |
Definition at line 831 of file class.ilObjStyleSettingsGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $si, ilPageLayout\getAvailableModules(), ilPageLayout\getLayouts(), ilSelectInputGUI\setOptions(), ilTextInputGUI\setSize(), and ilTextAreaInputGUI\setValue().
Referenced by addPageLayoutObject(), and createPgObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSettingsGUI::initPageLayoutImportForm | ( | ) |
Init page layout import form.
Definition at line 1118 of file class.ilObjStyleSettingsGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFileInputGUI\setSuffixes().
Referenced by importPageLayoutFormObject(), and importPageLayoutObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSettingsGUI::moveIndividualStylesObject | ( | ) |
move all learning modules with individual styles to new style
Definition at line 307 of file class.ilObjStyleSettingsGUI.php.
References $_GET, and ilObjContentObject\_moveLMStyles().
Here is the call graph for this function:| ilObjStyleSettingsGUI::moveLMStylesObject | ( | ) |
move learning modules from one style to another
Definition at line 290 of file class.ilObjStyleSettingsGUI.php.
References $_POST, ilObjContentObject\_moveLMStyles(), and confirmDeleteIndividualStyles().
Here is the call graph for this function:| ilObjStyleSettingsGUI::moveUserStylesObject | ( | ) |
Move user styles.
| @return |
Definition at line 440 of file class.ilObjStyleSettingsGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjUser\_getAllUserAssignedStyles(), ilObjUser\_moveUsersToStyle(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjStyleSettingsGUI::saveActiveStylesObject | ( | ) |
Save active styles.
Definition at line 579 of file class.ilObjStyleSettingsGUI.php.
References $_POST, ilObjStyleSheet\_writeActive(), and ilUtil\redirect().
Here is the call graph for this function:| ilObjStyleSettingsGUI::saveBasicStyleSettingsObject | ( | ) |
save basic style settings
Definition at line 191 of file class.ilObjStyleSettingsGUI.php.
References $_POST, ilUtil\redirect(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjStyleSettingsGUI::saveObject | ( | ) |
Save object.
Reimplemented from ilObjectGUI.
Definition at line 97 of file class.ilObjStyleSettingsGUI.php.
References ilObjectGUI\getReturnLocation(), ilUtil\redirect(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjStyleSettingsGUI::savePageLayoutTypesObject | ( | ) |
Save page layout types.
Definition at line 1040 of file class.ilObjStyleSettingsGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, $t, and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjStyleSettingsGUI::saveScopeObject | ( | ) |
save scope for style
Definition at line 693 of file class.ilObjStyleSettingsGUI.php.
References $_GET, ilObjectGUI\$ilias, ilObjStyleSheet\_writeScope(), and ilUtil\redirect().
Here is the call graph for this function:| ilObjStyleSettingsGUI::saveStyleCatAssignmentObject | ( | ) |
Save style category assignment.
| @return |
Definition at line 1250 of file class.ilObjStyleSettingsGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilUtil\sendSuccess(), and ilStyleDefinition\writeSystemStyleCategoryAssignment().
Here is the call graph for this function:| ilObjStyleSettingsGUI::saveStyleSettingsObject | ( | ) |
save skin and style settings
Definition at line 384 of file class.ilObjStyleSettingsGUI.php.
References $_POST, $ilCtrl, ilObjStyleSettings\_activateStyle(), ilObjStyleSettings\_deactivateStyle(), ilObjUser\_getNumberOfUsersForStyle(), ilStyleDefinition\getAllSkinStyles(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjStyleSettingsGUI::setScopeObject | ( | ) |
Definition at line 658 of file class.ilObjStyleSettingsGUI.php.
References $_GET, and IL_FM_POSITIVE.
| ilObjStyleSettingsGUI::setTabs | ( | ) |
set admin tabs public
Reimplemented from ilObjectGUI.
Definition at line 978 of file class.ilObjStyleSettingsGUI.php.
| ilObjStyleSettingsGUI::showActions | ( | $with_subobjects = false | ) |
show possible action (form buttons)
| boolean | public |
Definition at line 603 of file class.ilObjStyleSettingsGUI.php.
References ilUtil\getImagePath(), and ilObjectGUI\showPossibleSubObjects().
Here is the call graph for this function:| ilObjStyleSettingsGUI::toggleGlobalDefaultObject | ( | ) |
Toggle global default style.
Definition at line 529 of file class.ilObjStyleSettingsGUI.php.
References $_GET, $ilSetting, ilObjectGUI\$lng, ilUtil\redirect(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjStyleSettingsGUI::toggleGlobalFixedObject | ( | ) |
Toggle global fixed style.
Definition at line 554 of file class.ilObjStyleSettingsGUI.php.
References $_GET, $ilSetting, ilObjectGUI\$lng, ilUtil\redirect(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjStyleSettingsGUI::viewPageLayoutsObject | ( | ) |
view list of page layouts
Definition at line 711 of file class.ilObjStyleSettingsGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\$tpl.
Referenced by cancelCreateObject().
Here is the caller graph for this function:| ilObjStyleSettingsGUI::$peditor_active = false |
Definition at line 20 of file class.ilObjStyleSettingsGUI.php.
| ilObjStyleSettingsGUI::$pg_id = null |
Definition at line 21 of file class.ilObjStyleSettingsGUI.php.