|
ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilObjLinkResourceGUI. More...
Inheritance diagram for ilObjLinkResourceGUI:
Collaboration diagram for ilObjLinkResourceGUI:Public Member Functions | |
| getType () | |
| Functions that must be overwritten. | |
| executeCommand () | |
| execute command | |
| save () | |
| Save new object public. | |
| editLink () | |
| Edit a single link. | |
| updateLink () | |
| Save after editing. | |
| addLink () | |
| Add an additional link. | |
| saveAddLink () | |
| Save form data. | |
| view () | |
| View object. | |
| infoScreen () | |
| this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed | |
| infoScreenForward () | |
| show information screen | |
| history () | |
| formatInvalidLinkArray (Array $row) | |
| saveLinkCheck () | |
| refreshLinkCheck () | |
| __initLinkChecker () | |
| setTabs () | |
| get tabs public | |
| __prepareOutput () | |
| __setLocator () | |
| callDirectLink () | |
| callLink () | |
| _goto ($a_target, $a_additional=null) | |
Public Member Functions inherited from ilObject2GUI | |
| __construct ($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0) | |
| Constructor. | |
| delete () | |
| Display delete confirmation form (repository/workspace switch) | |
| confirmedDelete () | |
| Delete objects (repository/workspace switch) | |
| getHTML () | |
| withReferences () | |
| Final/Private declaration of unchanged parent methods. | |
| 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 | |
| isVisible () | |
| trash () | |
| undelete () | |
| cancelDelete () | |
| removeFromSystem () | |
| cloneAll () | |
| getAdminTabs ($a) | |
| getTemplateFile () | |
| copyWizardHasOptions ($a_mode) | |
| Check if there is any modules specific option. | |
| create () | |
| Deleted in ilObject. | |
| edit () | |
| update () | |
| cancel () | |
| importFile () | |
| Import. | |
Public Member Functions inherited from ilObjectGUI | |
| ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
| Constructor public. | |
| getAdminTabs (&$tabs_gui) | |
| administration tabs show only permissions and trash folder | |
| undeleteObject () | |
| Get objects back from trash. | |
| confirmedDeleteObject () | |
| confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
| cancelDeleteObject () | |
| cancel deletion of object | |
| removeFromSystemObject () | |
| remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
| 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 | |
| saveObject () | |
| save object | |
| 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. | |
| trashObject () | |
| Show trash content of object. | |
| getTemplateFile ($a_cmd, $a_type="") | |
| get a template blockfile format: tpl. | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. | |
Data Fields | |
| const | VIEW_MODE_VIEW = 1 |
| const | VIEW_MODE_MANAGE = 2 |
| const | VIEW_MODE_SORT = 3 |
| const | LINK_MOD_CREATE = 1 |
| const | LINK_MOD_EDIT = 2 |
| const | LINK_MOD_ADD = 3 |
Data Fields inherited from ilObject2GUI | |
| $tree | |
| const | OBJECT_ID = 0 |
| const | REPOSITORY_NODE_ID = 1 |
| const | WORKSPACE_NODE_ID = 2 |
| const | REPOSITORY_OBJECT_ID = 3 |
| const | WORKSPACE_OBJECT_ID = 4 |
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 |
Protected Member Functions | |
| initCreateForm ($a_new_type) | |
| Init object creation form. | |
| afterSave (ilObject $a_new_object) | |
| Post (successful) object creation hook. | |
| settings () | |
| Edit settings Title, Description, Sorting. | |
| saveSettings () | |
| Save container settings. | |
| initFormSettings () | |
| Show settings form. | |
| deleteParameter () | |
| Delete a dynamic parameter. | |
| deleteParameterForm () | |
| updateLinks () | |
| Update all visible links. | |
| setValuesFromLink ($a_link_id) | |
| Set form values from link. | |
| checkLinkInput ($a_mode, $a_webr_id=0, $a_link_id=0) | |
| Check input after creating a new link. | |
| initFormLink ($a_mode) | |
| Show create/edit single link. | |
| isContainerMetaDataRequired () | |
| Check if a new container title is required Necessary if there is more than one link. | |
| switchViewMode () | |
| Switch between "View" "Manage" and "Sort". | |
| editLinks () | |
| Start with manage mode. | |
| manage () | |
| Manage links. | |
| showLinks () | |
| Show all active links. | |
| sort () | |
| Sort web links. | |
| saveSorting () | |
| Save nmanual sorting. | |
| showToolbar ($a_tpl_var) | |
| Show toolbar. | |
| confirmDeleteLink () | |
| Show delete confirmation screen. | |
| deleteLinks () | |
| Delete links. | |
| deactivateLink () | |
| Deactivate links. | |
| linkChecker () | |
| Show link validation. | |
| activateTabs ($a_active_tab, $a_active_subtab= '') | |
| Activate tab and subtabs. | |
| redirectToLink ($a_ref_id, $a_obj_id, $a_url) | |
Protected Member Functions inherited from ilObject2GUI | |
| afterConstructor () | |
| Do anything that should be done after constructor in here. | |
| assignObject () | |
| create object instance as internal property (repository/workspace switch) | |
| getAccessHandler () | |
| Get access handler. | |
| setLocator () | |
| set Locator | |
| deleteConfirmation () | |
| Display delete confirmation form (workspace specific) | |
| deleteConfirmedObjects () | |
| Delete objects (workspace specific) | |
| prepareOutput () | |
| prepare output | |
| setTitleAndDescription () | |
| called by prepare output | |
| showUpperIcon () | |
| omitLocator ($a_omit=true) | |
| 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 | |
| getCenterColumnHTML () | |
| Get center column. | |
| getRightColumnHTML () | |
| Display right column. | |
| setColumnSettings ($column_gui) | |
| May be overwritten in subclasses. | |
| checkPermission ($a_perm, $a_cmd="") | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) | |
| redirectToRefId () | |
| 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. | |
| fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
| searchCloneSource () | |
| buildCloneSelect ($existing_objs) | |
| addAdminLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| getReturnLocation () | |
| Deprecated functions. | |
| setReturnLocation () | |
| showActions () | |
| getTitlesByRefId () | |
| getTabs () | |
| __showButton () | |
| hitsperpageObject () | |
| __initTableGUI () | |
| __setTableGUIBasicData () | |
| __showClipboardTable () | |
| addLocatorItems () | |
| Functions to be overwritten. | |
| initCreationForms ($a_new_type) | |
| Init creation froms. | |
| putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
| Add object to tree at given position. | |
| checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_node_id=null) | |
| Check permission. | |
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
| Add header action menu. | |
| redrawHeaderAction () | |
| Updating icons after ajax call. | |
| getPermanentLinkWidget ($a_append=null, $a_center=false) | |
Protected Member Functions inherited from ilObjectGUI | |
| 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 | |
| getCreationFormsHTML (array $a_forms) | |
| Get HTML for creation forms (accordion) | |
| initDidacticTemplate (ilPropertyFormGUI $form) | |
| Show didactic template types. | |
| addDidacticTemplateOptions (array &$a_options) | |
| Add custom templates. | |
| getDidacticTemplateVar ($a_type) | |
| Get didactic template setting from creation screen. | |
| 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 | |
| getTitlesByRefId ($a_ref_ids) | |
| get Titles of objects this method is used for error messages in methods cut/copy/paste | |
| getTabs (&$tabs_gui) | |
| get tabs abstract method. | |
| __showButton ($a_cmd, $a_text, $a_target= '') | |
| __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 | |
| checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission and redirect on error. | |
Additional Inherited Members | |
Protected Attributes inherited from ilObject2GUI | |
| $object_id | |
| $node_id | |
| $creation_forms = array() | |
| $id_type = array() | |
| $parent_id | |
| $access_handler | |
Class ilObjLinkResourceGUI.
ilObjLinkResourceGUI: ilMDEditorGUI, ilPermissionGUI, ilInfoScreenGUI, ilObjectCopyGUI ilObjLinkResourceGUI: ilExportGUI, ilWorkspaceAccessGUI, ilCommonActionDispatcherGUI
Definition at line 21 of file class.ilObjLinkResourceGUI.php.
| ilObjLinkResourceGUI::__initLinkChecker | ( | ) |
Definition at line 1232 of file class.ilObjLinkResourceGUI.php.
References $ilDB.
Referenced by linkChecker(), and refreshLinkCheck().
Here is the caller graph for this function:| ilObjLinkResourceGUI::__prepareOutput | ( | ) |
Definition at line 1367 of file class.ilObjLinkResourceGUI.php.
References __setLocator(), ilUtil\infoPanel(), and ilUtil\sendInfo().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLinkResourceGUI::__setLocator | ( | ) |
Definition at line 1386 of file class.ilObjLinkResourceGUI.php.
References ilObjectGUI\$lng, $row, ilObject2GUI\$tree, and ilUtil\getImagePath().
Referenced by __prepareOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLinkResourceGUI::_goto | ( | $a_target, | |
$a_additional = null |
|||
| ) |
Definition at line 1500 of file class.ilObjLinkResourceGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, ilUtil\redirect(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Activate tab and subtabs.
| string | $a_active_tab | |
| string | $a_active_subtab | [optional] |
Definition at line 1251 of file class.ilObjLinkResourceGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilContainerSortingSettings\_lookupSortMode(), ilObject2GUI\checkPermissionBool(), ilLinkResourceItems\lookupNumberOfLinks(), and ilContainer\SORT_MANUAL.
Referenced by addLink(), confirmDeleteLink(), editLink(), manage(), saveAddLink(), showLinks(), sort(), and updateLinks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLinkResourceGUI::addLink | ( | ) |
Add an additional link.
Definition at line 344 of file class.ilObjLinkResourceGUI.php.
References activateTabs(), ilObject2GUI\checkPermission(), and initFormLink().
Here is the call graph for this function:
|
protected |
Post (successful) object creation hook.
| ilObject | $a_new_object |
Reimplemented from ilObjectGUI.
Definition at line 155 of file class.ilObjLinkResourceGUI.php.
References ilParameterAppender\_isEnabled(), ilObject\getId(), ilObject\getRefId(), ilUtil\redirect(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjLinkResourceGUI::callDirectLink | ( | ) |
Definition at line 1446 of file class.ilObjLinkResourceGUI.php.
References ilObjectGUI\$obj_id, ilParameterAppender\_append(), ilLinkResourceItems\_getFirstLink(), ilParameterAppender\_isEnabled(), ilLinkResourceItems\_isSingular(), and redirectToLink().
Here is the call graph for this function:| ilObjLinkResourceGUI::callLink | ( | ) |
Definition at line 1465 of file class.ilObjLinkResourceGUI.php.
References $_REQUEST, ilObjectGUI\$obj_id, ilParameterAppender\_append(), ilParameterAppender\_isEnabled(), and redirectToLink().
Here is the call graph for this function:
|
protected |
Check input after creating a new link.
| object | $a_mode | |
| object | $a_webr_id | [optional] |
| object | $a_link_id | [optional] |
Definition at line 575 of file class.ilObjLinkResourceGUI.php.
References $valid, ilParameterAppender\_isEnabled(), LINKS_ERR_NO_NAME, LINKS_ERR_NO_NAME_VALUE, and LINKS_ERR_NO_VALUE.
Referenced by save(), saveAddLink(), and updateLink().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show delete confirmation screen.
Definition at line 958 of file class.ilObjLinkResourceGUI.php.
References $_GET, $_POST, activateTabs(), ilObject2GUI\checkPermission(), ilUtil\sendFailure(), and view().
Here is the call graph for this function:
|
protected |
Deactivate links.
Definition at line 1017 of file class.ilObjLinkResourceGUI.php.
References $_GET, $ilCtrl, ilObject2GUI\checkPermission(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Delete links.
Definition at line 996 of file class.ilObjLinkResourceGUI.php.
References $_POST, $ilCtrl, ilObject2GUI\checkPermission(), ilLinkResourceItems\delete(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Delete a dynamic parameter.
Definition at line 397 of file class.ilObjLinkResourceGUI.php.
References $_GET, $ilCtrl, ilObject2GUI\checkPermission(), ilParameterAppender\delete(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Definition at line 419 of file class.ilObjLinkResourceGUI.php.
References $_GET, $ilCtrl, ilObject2GUI\checkPermission(), ilParameterAppender\delete(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjLinkResourceGUI::editLink | ( | ) |
Edit a single link.
Definition at line 289 of file class.ilObjLinkResourceGUI.php.
References $_GET, $ilCtrl, activateTabs(), ilObject2GUI\checkPermission(), initFormLink(), ilUtil\sendFailure(), and setValuesFromLink().
Here is the call graph for this function:
|
protected |
Start with manage mode.
Definition at line 814 of file class.ilObjLinkResourceGUI.php.
References $_GET, switchViewMode(), and VIEW_MODE_MANAGE.
Here is the call graph for this function:| ilObjLinkResourceGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObject2GUI.
Definition at line 36 of file class.ilObjLinkResourceGUI.php.
References $_GET, $cmd, $ilCtrl, $ilErr, $ret, __prepareOutput(), ilMDUtils\_fillHTMLMetaTags(), ilObjectGUI\addHeaderAction(), ilMDEditorGUI\addObserver(), ilObject2GUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), infoScreenForward(), and ilObject2GUI\prepareOutput().
Here is the call graph for this function:| ilObjLinkResourceGUI::formatInvalidLinkArray | ( | Array | $row | ) |
| array | Unformatted array |
Implements ilLinkCheckerGUIRowHandling.
Definition at line 1107 of file class.ilObjLinkResourceGUI.php.
References ilObjectGUI\$actions, and $row.
| ilObjLinkResourceGUI::getType | ( | ) |
Functions that must be overwritten.
Reimplemented from ilObject2GUI.
Definition at line 31 of file class.ilObjLinkResourceGUI.php.
| ilObjLinkResourceGUI::history | ( | ) |
Definition at line 1080 of file class.ilObjLinkResourceGUI.php.
References $_GET, ilObject2GUI\checkPermission(), and ilHistoryGUI\getHistoryTable().
Here is the call graph for this function:| ilObjLinkResourceGUI::infoScreen | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 1045 of file class.ilObjLinkResourceGUI.php.
References infoScreenForward().
Here is the call graph for this function:| ilObjLinkResourceGUI::infoScreenForward | ( | ) |
show information screen
Definition at line 1055 of file class.ilObjLinkResourceGUI.php.
References ilObject2GUI\checkPermission(), and ilObject2GUI\getPermanentLinkWidget().
Referenced by executeCommand(), and infoScreen().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Init object creation form.
| string | $a_new_type |
Reimplemented from ilObjectGUI.
Definition at line 124 of file class.ilObjLinkResourceGUI.php.
References initFormLink().
Here is the call graph for this function:
|
protected |
Show create/edit single link.
| int | form mode |
Definition at line 627 of file class.ilObjLinkResourceGUI.php.
References $_GET, $_REQUEST, $title, ilParameterAppender\_getOptionSelect(), ilParameterAppender\_getParams(), ilParameterAppender\_isEnabled(), ilSubEnabledFormPropertyGUI\addSubItem(), isContainerMetaDataRequired(), ilParameterAppender\parameterToInfo(), ilUtil\sendInfo(), ilCheckboxInputGUI\setChecked(), ilNonEditableValueGUI\setInfo(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilTextAreaInputGUI\setRows(), ilTextInputGUI\setSize(), ilTextInputGUI\setValue(), and ilCheckboxInputGUI\setValue().
Referenced by addLink(), editLink(), initCreateForm(), save(), saveAddLink(), and updateLink().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show settings form.
Definition at line 236 of file class.ilObjLinkResourceGUI.php.
References ilContainerSortingSettings\_lookupSortMode(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setValue(), ilTextAreaInputGUI\setValue(), ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
Referenced by saveSettings(), and settings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Check if a new container title is required Necessary if there is more than one link.
Definition at line 792 of file class.ilObjLinkResourceGUI.php.
References ilLinkResourceItems\lookupNumberOfLinks().
Referenced by initFormLink(), saveAddLink(), updateLink(), and updateLinks().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show link validation.
Definition at line 1134 of file class.ilObjLinkResourceGUI.php.
References ilObjectGUI\$ilias, ilObjectGUI\$tpl, __initLinkChecker(), ilLinkCheckNotify\_getNotifyStatus(), ilObject2GUI\checkPermission(), and ilCheckboxInputGUI\setValue().
Referenced by refreshLinkCheck(), and saveLinkCheck().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Manage links.
Definition at line 862 of file class.ilObjLinkResourceGUI.php.
References activateTabs(), ilObject2GUI\checkPermission(), and showToolbar().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1486 of file class.ilObjLinkResourceGUI.php.
References ilChangeEvent\_recordReadEvent(), and ilUtil\redirect().
Referenced by callDirectLink(), and callLink().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLinkResourceGUI::refreshLinkCheck | ( | ) |
Definition at line 1198 of file class.ilObjLinkResourceGUI.php.
References __initLinkChecker(), linkChecker(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjLinkResourceGUI::save | ( | ) |
Save new object public.
Reimplemented from ilObject2GUI.
Definition at line 134 of file class.ilObjLinkResourceGUI.php.
References $_POST, $ilCtrl, checkLinkInput(), initFormLink(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjLinkResourceGUI::saveAddLink | ( | ) |
Save form data.
Definition at line 357 of file class.ilObjLinkResourceGUI.php.
References $ilCtrl, ilParameterAppender\_isEnabled(), activateTabs(), checkLinkInput(), ilObject2GUI\checkPermission(), initFormLink(), isContainerMetaDataRequired(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjLinkResourceGUI::saveLinkCheck | ( | ) |
Definition at line 1171 of file class.ilObjLinkResourceGUI.php.
References $_POST, $ilDB, linkChecker(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Save container settings.
Definition at line 203 of file class.ilObjLinkResourceGUI.php.
References ilObject2GUI\checkPermission(), initFormSettings(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilContainerSortingSettings\setSortMode().
Here is the call graph for this function:
|
protected |
Save nmanual sorting.
Definition at line 917 of file class.ilObjLinkResourceGUI.php.
References $_POST, ilContainerSorting\_getInstance(), ilObject2GUI\checkPermission(), ilUtil\sendSuccess(), and view().
Here is the call graph for this function:| ilObjLinkResourceGUI::setTabs | ( | ) |
get tabs public
Reimplemented from ilObject2GUI.
Definition at line 1298 of file class.ilObjLinkResourceGUI.php.
References ilObjectGUI\$lng, ilObject2GUI\checkPermissionBool(), ilObject2GUI\getCreationMode(), and ilLinkResourceItems\lookupNumberOfLinks().
Here is the call graph for this function:
|
protected |
Edit settings Title, Description, Sorting.
Definition at line 188 of file class.ilObjLinkResourceGUI.php.
References ilObject2GUI\checkPermission(), and initFormSettings().
Here is the call graph for this function:
|
protected |
Set form values from link.
| object | $a_link_id |
Definition at line 544 of file class.ilObjLinkResourceGUI.php.
References ilParameterAppender\_isEnabled(), and ilLinkResourceItems\getItem().
Referenced by editLink().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show all active links.
Definition at line 881 of file class.ilObjLinkResourceGUI.php.
References activateTabs(), ilObject2GUI\checkPermission(), and showToolbar().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show toolbar.
| string | $a_tpl_var | Name of template variable |
Definition at line 935 of file class.ilObjLinkResourceGUI.php.
References ilObject2GUI\checkPermissionBool().
Referenced by manage(), showLinks(), and sort().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Sort web links.
Definition at line 899 of file class.ilObjLinkResourceGUI.php.
References activateTabs(), ilObject2GUI\checkPermission(), and showToolbar().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Switch between "View" "Manage" and "Sort".
Definition at line 802 of file class.ilObjLinkResourceGUI.php.
References $_GET, $_REQUEST, $ilCtrl, and view().
Referenced by editLinks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLinkResourceGUI::updateLink | ( | ) |
Save after editing.
Definition at line 311 of file class.ilObjLinkResourceGUI.php.
References $_REQUEST, $ilCtrl, ilParameterAppender\_isEnabled(), checkLinkInput(), initFormLink(), isContainerMetaDataRequired(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Update all visible links.
Definition at line 445 of file class.ilObjLinkResourceGUI.php.
References $_POST, ilObjectGUI\$data, $ilCtrl, activateTabs(), ilObject2GUI\checkPermission(), isContainerMetaDataRequired(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilParameterAppender\setName(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjLinkResourceGUI::view | ( | ) |
View object.
Reimplemented from ilObject2GUI.
Definition at line 825 of file class.ilObjLinkResourceGUI.php.
References $_GET, $_REQUEST, $ilErr, ilObject2GUI\checkPermission(), manage(), showLinks(), and sort().
Referenced by confirmDeleteLink(), saveSorting(), and switchViewMode().
Here is the call graph for this function:
Here is the caller graph for this function:| const ilObjLinkResourceGUI::LINK_MOD_ADD = 3 |
Definition at line 29 of file class.ilObjLinkResourceGUI.php.
| const ilObjLinkResourceGUI::LINK_MOD_CREATE = 1 |
Definition at line 27 of file class.ilObjLinkResourceGUI.php.
| const ilObjLinkResourceGUI::LINK_MOD_EDIT = 2 |
Definition at line 28 of file class.ilObjLinkResourceGUI.php.
| const ilObjLinkResourceGUI::VIEW_MODE_MANAGE = 2 |
Definition at line 24 of file class.ilObjLinkResourceGUI.php.
Referenced by editLinks().
| const ilObjLinkResourceGUI::VIEW_MODE_SORT = 3 |
Definition at line 25 of file class.ilObjLinkResourceGUI.php.
| const ilObjLinkResourceGUI::VIEW_MODE_VIEW = 1 |
Definition at line 23 of file class.ilObjLinkResourceGUI.php.