|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilObjLinkResourceGUI. More...
Inheritance diagram for ilObjLinkResourceGUI:
Collaboration diagram for ilObjLinkResourceGUI:Public Member Functions | |
| getType () | |
| Functions that must be overwritten. More... | |
| executeCommand () | |
| execute command More... | |
| save () | |
| Save new object @access public. More... | |
| editLink () | |
| Edit a single link. More... | |
| updateLink () | |
| Save after editing. More... | |
| addLink () | |
| Add an additional link. More... | |
| saveAddLink () | |
| Save form data. More... | |
| view () | |
| View object. More... | |
| 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 More... | |
| infoScreenForward () | |
| show information screen More... | |
| history () | |
| formatInvalidLinkArray (array $row) | |
| saveLinkCheck () | |
| refreshLinkCheck () | |
| __initLinkChecker () | |
| setTabs () | |
| get tabs @access public More... | |
| __prepareOutput () | |
| addLocatorItems () | |
| Functions to be overwritten. More... | |
| callDirectLink () | |
| callLink () | |
| exportHTML () | |
Public Member Functions inherited from ilObject2GUI | |
| __construct ($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0) | |
| Constructor. More... | |
| executeCommand () | |
| execute command More... | |
| delete () | |
| Display delete confirmation form (repository/workspace switch) More... | |
| confirmedDelete () | |
| Delete objects (repository/workspace switch) More... | |
| getHTML () | |
| withReferences () | |
| Final/Private declaration of unchanged parent methods. More... | |
| 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 More... | |
| getCreationMode () | |
| get creation mode More... | |
| prepareOutput ($a_show_subobjects=true) | |
| prepare output More... | |
| isVisible ($a_ref_id, $a_type) | |
| trash () | |
| undelete () | |
| cancelDelete () | |
| removeFromSystem () | |
| cloneAll () | |
| view () | |
| view object content (repository/workspace switch) More... | |
| getType () | |
| Functions that must be overwritten. More... | |
| create () | |
| Deleted in ilObject. More... | |
| save () | |
| edit () | |
| update () | |
| cancel () | |
| importFile () | |
| Import. More... | |
| putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
| Add object to tree at given position. More... | |
Public Member Functions inherited from ilObjectGUI | |
| executeCommand () | |
| execute command More... | |
| withReferences () | |
| determines wether objects are referenced or not (got ref ids or not) More... | |
| 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 More... | |
| getCreationMode () | |
| get creation mode More... | |
| prepareOutput ($a_show_subobjects=true) | |
| prepare output More... | |
| getAdminTabs () | |
| administration tabs show only permissions and trash folder More... | |
| getHTML () | |
| confirmedDeleteObject () | |
| confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
| cancelDeleteObject () | |
| cancel deletion of object More... | |
| cancelObject () | |
| cancel action and go back to previous page @access public More... | |
| createObject () | |
| create new object form More... | |
| cancelCreation () | |
| cancel create action and go back to repository parent More... | |
| saveObject () | |
| save object More... | |
| getDidacticTemplateVar ($a_type) | |
| Get didactic template setting from creation screen. More... | |
| putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
| Add object to tree at given position. More... | |
| editObject () | |
| edit object More... | |
| addExternalEditFormCustom (ilPropertyFormGUI $a_form) | |
| updateObject () | |
| updates object entry in object_data More... | |
| getFormAction ($a_cmd, $a_formaction="") | |
| get form action for command (command is method name without "Object", e.g. More... | |
| isVisible ($a_ref_id, $a_type) | |
| viewObject () | |
| viewObject container presentation for "administration -> repository, trash, permissions" More... | |
| deleteObject ($a_error=false) | |
| Display deletion confirmation screen. More... | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. More... | |
| redirectAfterCreation () | |
| Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html. More... | |
| addToDeskObject () | |
| @inheritDoc More... | |
| removeFromDeskObject () | |
| @inheritDoc More... | |
| formatInvalidLinkArray (array $row) | |
Static Public Member Functions | |
| static | _goto ($a_target, $a_additional=null) |
Static Public Member Functions inherited from ilObject2GUI | |
| static | handleAfterSaveCallback (ilObject $a_obj, $a_callback_ref_id) |
| After creation callback. More... | |
Static Public Member Functions inherited from ilObjectGUI | |
| static | _gotoRepositoryRoot ($a_raise_error=false) |
| Goto repository root. More... | |
| static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
| Goto repository root. More... | |
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 |
| const | PORTFOLIO_OBJECT_ID = 5 |
Data Fields inherited from ilObjectGUI | |
| const | COPY_WIZARD_NEEDS_PAGE = 1 |
| $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. More... | |
| afterSave (ilObject $a_new_object) | |
| Post (successful) object creation hook. More... | |
| settings () | |
| Edit settings Title, Description, Sorting. More... | |
| saveSettings () | |
| Save container settings. More... | |
| initFormSettings () | |
| Show settings form. More... | |
| deleteParameter () | |
| Delete a dynamic parameter. More... | |
| deleteParameterForm () | |
| updateLinks () | |
| Update all visible links. More... | |
| setValuesFromLink ($a_link_id) | |
| Set form values from link. More... | |
| checkLinkInput ($a_mode, $a_webr_id=0, $a_link_id=0) | |
| Check input after creating a new link. More... | |
| initFormLink ($a_mode) | |
| Show create/edit single link. More... | |
| isContainerMetaDataRequired () | |
| Check if a new container title is required Necessary if there is more than one link. More... | |
| switchViewMode () | |
| Switch between "View" "Manage" and "Sort". More... | |
| editLinks () | |
| Start with manage mode. More... | |
| manage () | |
| Manage links. More... | |
| showLinks () | |
| Show all active links. More... | |
| sort () | |
| Sort web links. More... | |
| saveSorting () | |
| Save nmanual sorting. More... | |
| showToolbar ($a_tpl_var) | |
| Show toolbar. More... | |
| confirmDeleteLink () | |
| Show delete confirmation screen. More... | |
| deleteLinks () | |
| Delete links. More... | |
| deactivateLink () | |
| Deactivate links. More... | |
| linkChecker () | |
| Show link validation. More... | |
| activateTabs ($a_active_tab, $a_active_subtab='') | |
| Activate tab and subtabs. More... | |
| handleSubItemLinks ($a_target) | |
| 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. More... | |
| assignObject () | |
| create object instance as internal property (repository/workspace switch) More... | |
| getAccessHandler () | |
| Get access handler. More... | |
| setLocator () | |
| set Locator More... | |
| deleteConfirmedObjects () | |
| Delete objects (workspace specific) More... | |
| setTitleAndDescription () | |
| called by prepare output More... | |
| showUpperIcon () | |
| omitLocator ($a_omit=true) | |
| getTargetFrame ($a_cmd, $a_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. More... | |
| setTargetFrame ($a_cmd, $a_target_frame) | |
| set specific target frame for command More... | |
| getCenterColumnHTML () | |
| Get center column. More... | |
| getRightColumnHTML () | |
| Display right column. More... | |
| setColumnSettings (ilColumnGUI $column_gui) | |
| May be overwritten in subclasses. More... | |
| checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission and redirect on error. More... | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) More... | |
| 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 More... | |
| 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. More... | |
| fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
| searchCloneSource () | |
| buildCloneSelect ($existing_objs) | |
| addAdminLocatorItems ($a_do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| setTabs () | |
| create tabs (repository/workspace switch) More... | |
| getReturnLocation ($a_cmd, $a_location="") | |
| Deprecated functions. More... | |
| setReturnLocation ($a_cmd, $a_location) | |
| set specific return location for command More... | |
| showActions () | |
| getTabs () | |
| get tabs abstract method. More... | |
| __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 More... | |
| addLocatorItems () | |
| Functions to be overwritten. More... | |
| initCreationForms ($a_new_type) | |
| Init creation froms. More... | |
| checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_node_id=null) | |
| Check permission. More... | |
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
| Add header action menu. More... | |
| redrawHeaderAction () | |
| Updating icons after ajax call. More... | |
| getPermanentLinkWidget ($a_append=null, $a_center=false) | |
| handleAutoRating (ilObject $a_new_obj) | |
Protected Member Functions inherited from ilObjectGUI | |
| getObjectService () | |
| Get object service. More... | |
| assignObject () | |
| setTitleAndDescription () | |
| called by prepare output More... | |
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
| Add header action menu. More... | |
| insertHeaderAction ($a_list_gui) | |
| Insert header action into main template. More... | |
| addHeaderAction () | |
| Add header action menu. More... | |
| redrawHeaderActionObject () | |
| Ajax call: redraw action header only. More... | |
| setTabs () | |
| set admin tabs @access public More... | |
| setAdminTabs () | |
| set admin tabs @access public More... | |
| setLocator () | |
| set Locator More... | |
| addLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| omitLocator ($a_omit=true) | |
| addAdminLocatorItems ($a_do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| initCreationForms ($a_new_type) | |
| Init creation froms. More... | |
| getCreationFormsHTML (array $a_forms) | |
| Get HTML for creation forms (accordion) More... | |
| initCreateForm ($a_new_type) | |
| Init object creation form. More... | |
| initDidacticTemplate (ilPropertyFormGUI $form) | |
| Show didactic template types. More... | |
| addDidacticTemplateOptions (array &$a_options) | |
| Add custom templates. More... | |
| afterSave (ilObject $a_new_object) | |
| Post (successful) object creation hook. More... | |
| initEditForm () | |
| Init object edit form. More... | |
| initEditCustomForm (ilPropertyFormGUI $a_form) | |
| Add custom fields to update form. More... | |
| getEditFormValues () | |
| Get values for edit form. More... | |
| getEditFormCustomValues (array &$a_values) | |
| Add values to custom edit fields. More... | |
| validateCustom (ilPropertyFormGUI $a_form) | |
| Validate custom values (if not possible with checkInput()) More... | |
| updateCustom (ilPropertyFormGUI $a_form) | |
| Insert custom update form values into object. More... | |
| afterUpdate () | |
| Post (successful) object update hook. More... | |
| initImportForm ($a_new_type) | |
| Init object import form. More... | |
| importFileObject ($parent_id=null, $a_catch_errors=true) | |
| Import. More... | |
| afterImport (ilObject $a_new_object) | |
| Post (successful) object import hook. More... | |
| setFormAction ($a_cmd, $a_formaction) | |
| set specific form action for command More... | |
| getReturnLocation ($a_cmd, $a_location="") | |
| get return location for command (command is method name without "Object", e.g. More... | |
| setReturnLocation ($a_cmd, $a_location) | |
| set specific return location for command More... | |
| getTargetFrame ($a_cmd, $a_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. More... | |
| setTargetFrame ($a_cmd, $a_target_frame) | |
| set specific target frame for command More... | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) More... | |
| getTemplateFile ($a_cmd, $a_type="") | |
| get a template blockfile format: tpl. More... | |
| getTabs () | |
| get tabs abstract method. More... | |
| __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 More... | |
| 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 More... | |
| 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. More... | |
| getCenterColumnHTML () | |
| Get center column. More... | |
| getRightColumnHTML () | |
| Display right column. More... | |
| setColumnSettings (ilColumnGUI $column_gui) | |
| May be overwritten in subclasses. More... | |
| checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission and redirect on error. More... | |
| checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission. More... | |
| enableDragDropFileUpload () | |
| Enables the file upload into this object by dropping files. More... | |
| handleAutoRating (ilObject $a_new_obj) | |
| Activate rating automatically if parent container setting. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ilObject2GUI | |
| $object_id | |
| $node_id | |
| $creation_forms = array() | |
| $id_type = array() | |
| $parent_id | |
| $access_handler | |
Protected Attributes inherited from ilObjectGUI | |
| $ilErr | |
| $locator | |
| $user | |
| $access | |
| $rbacsystem | |
| $settings | |
| $rbacreview | |
| $toolbar | |
| $tmp_import_dir | |
| $tabs_gui = null | |
| $ctrl | |
| $object_service | |
| $favourites | |
Class ilObjLinkResourceGUI.
@ilCtrl_Calls ilObjLinkResourceGUI: ilObjectMetaDataGUI, ilPermissionGUI, ilInfoScreenGUI, ilObjectCopyGUI @ilCtrl_Calls ilObjLinkResourceGUI: ilExportGUI, ilWorkspaceAccessGUI, ilCommonActionDispatcherGUI @ilCtrl_Calls ilObjLinkResourceGUI: ilPropertyFormGUI, ilInternalLinkGUI
Definition at line 22 of file class.ilObjLinkResourceGUI.php.
| ilObjLinkResourceGUI::__initLinkChecker | ( | ) |
Definition at line 1308 of file class.ilObjLinkResourceGUI.php.
Referenced by linkChecker(), and refreshLinkCheck().
Here is the caller graph for this function:| ilObjLinkResourceGUI::__prepareOutput | ( | ) |
Definition at line 1460 of file class.ilObjLinkResourceGUI.php.
References ilUtil\infoPanel(), and ilUtil\sendInfo().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1628 of file class.ilObjLinkResourceGUI.php.
References $_GET, $DIC, ilObjectGUI\$ilErr, ilObjectGUI\$lng, ilObjectGUI\_gotoRepositoryRoot(), 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 1329 of file class.ilObjLinkResourceGUI.php.
References $DIC, $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 385 of file class.ilObjLinkResourceGUI.php.
References activateTabs(), ilObject2GUI\checkPermission(), and initFormLink().
Here is the call graph for this function:| ilObjLinkResourceGUI::addLocatorItems | ( | ) |
Functions to be overwritten.
Reimplemented from ilObject2GUI.
Definition at line 1478 of file class.ilObjLinkResourceGUI.php.
References $DIC.
|
protected |
Post (successful) object creation hook.
| ilObject | $a_new_object |
Reimplemented from ilObjectGUI.
Definition at line 169 of file class.ilObjLinkResourceGUI.php.
References ilObject\getId(), ilObject\getRefId(), and ilUtil\redirect().
Here is the call graph for this function:| ilObjLinkResourceGUI::callDirectLink | ( | ) |
Definition at line 1530 of file class.ilObjLinkResourceGUI.php.
References ilObjectGUI\$obj_id, $url, ilParameterAppender\_append(), ilLinkResourceItems\_getFirstLink(), ilParameterAppender\_isEnabled(), ilLinkResourceItems\_isSingular(), handleSubItemLinks(), and redirectToLink().
Here is the call graph for this function:| ilObjLinkResourceGUI::callLink | ( | ) |
Definition at line 1550 of file class.ilObjLinkResourceGUI.php.
References ilObjectGUI\$obj_id, ilParameterAppender\_append(), ilParameterAppender\_isEnabled(), ilLoggerFactory\getLogger(), handleSubItemLinks(), 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 623 of file class.ilObjLinkResourceGUI.php.
References $valid, ilParameterAppender\_isEnabled(), ilLinkInputGUI\isInternalLink(), LINKS_ERR_NO_NAME, LINKS_ERR_NO_NAME_VALUE, LINKS_ERR_NO_VALUE, and ilUtil\stripSlashes().
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 1038 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 1100 of file class.ilObjLinkResourceGUI.php.
References $_GET, $DIC, $ilCtrl, ilObject2GUI\checkPermission(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Delete links.
Definition at line 1078 of file class.ilObjLinkResourceGUI.php.
References $_POST, $DIC, $ilCtrl, and ilObject2GUI\checkPermission().
Here is the call graph for this function:
|
protected |
Delete a dynamic parameter.
Definition at line 438 of file class.ilObjLinkResourceGUI.php.
References $_GET, $DIC, $ilCtrl, $param, ilObject2GUI\checkPermission(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Definition at line 461 of file class.ilObjLinkResourceGUI.php.
References $_GET, $DIC, $ilCtrl, $param, ilObject2GUI\checkPermission(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjLinkResourceGUI::editLink | ( | ) |
Edit a single link.
Definition at line 330 of file class.ilObjLinkResourceGUI.php.
References $_GET, $DIC, $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 883 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 37 of file class.ilObjLinkResourceGUI.php.
References $_GET, $DIC, $ilCtrl, ilObjectGUI\$ilErr, $ret, __prepareOutput(), ilMDUtils\_fillHTMLMetaTags(), ilObjectGUI\addHeaderAction(), ilObject2GUI\checkPermission(), ilObject2GUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), infoScreenForward(), initFormLink(), and ilObject2GUI\prepareOutput().
Here is the call graph for this function:| ilObjLinkResourceGUI::exportHTML | ( | ) |
Definition at line 1590 of file class.ilObjLinkResourceGUI.php.
References $DIC, $ilSetting, ilObjectGUI\$tpl, ilUtil\deliverData(), and handleSubItemLinks().
Here is the call graph for this function:| ilObjLinkResourceGUI::formatInvalidLinkArray | ( | array | $row | ) |
| array | Unformatted array |
Implements ilLinkCheckerGUIRowHandling.
Definition at line 1190 of file class.ilObjLinkResourceGUI.php.
References ilObjectGUI\$actions.
| ilObjLinkResourceGUI::getType | ( | ) |
Functions that must be overwritten.
Reimplemented from ilObject2GUI.
Definition at line 32 of file class.ilObjLinkResourceGUI.php.
|
protected |
Definition at line 1489 of file class.ilObjLinkResourceGUI.php.
References ilLink\_getStaticLink(), and ilLinkInputGUI\isInternalLink().
Referenced by callDirectLink(), callLink(), and exportHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLinkResourceGUI::history | ( | ) |
Definition at line 1167 of file class.ilObjLinkResourceGUI.php.
References $DIC, and ilObject2GUI\checkPermission().
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 1129 of file class.ilObjLinkResourceGUI.php.
References infoScreenForward().
Here is the call graph for this function:| ilObjLinkResourceGUI::infoScreenForward | ( | ) |
show information screen
Definition at line 1139 of file class.ilObjLinkResourceGUI.php.
References $DIC, ilObject2GUI\checkPermission(), and ilObject2GUI\checkPermissionBool().
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 139 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 681 of file class.ilObjLinkResourceGUI.php.
References $_GET, $DIC, ilParameterAppender\_getOptionSelect(), ilParameterAppender\_getParams(), ilParameterAppender\_isEnabled(), isContainerMetaDataRequired(), LINK_MOD_ADD, LINK_MOD_CREATE, LINK_MOD_EDIT, ilParameterAppender\parameterToInfo(), and ilUtil\sendInfo().
Referenced by addLink(), editLink(), executeCommand(), 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 250 of file class.ilObjLinkResourceGUI.php.
References ilObjectGUI\$object_service, $section, ilContainerSortingSettings\_lookupSortMode(), ilLinkResourceItems\lookupNumberOfLinks(), 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 859 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 1217 of file class.ilObjLinkResourceGUI.php.
References $DIC, $ilUser, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, __initLinkChecker(), ilLinkCheckNotify\_getNotifyStatus(), and ilObject2GUI\checkPermission().
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 937 of file class.ilObjLinkResourceGUI.php.
References activateTabs(), ilObject2GUI\checkPermission(), ilInternalLinkGUI\getInitHTML(), 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 1571 of file class.ilObjLinkResourceGUI.php.
References $DIC, $ilUser, 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 1285 of file class.ilObjLinkResourceGUI.php.
References __initLinkChecker(), and linkChecker().
Here is the call graph for this function:| ilObjLinkResourceGUI::save | ( | ) |
Save new object @access public.
Reimplemented from ilObject2GUI.
Definition at line 149 of file class.ilObjLinkResourceGUI.php.
References $_POST, $DIC, $ilCtrl, checkLinkInput(), initFormLink(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjLinkResourceGUI::saveAddLink | ( | ) |
Save form data.
Definition at line 398 of file class.ilObjLinkResourceGUI.php.
References $DIC, $ilCtrl, ilParameterAppender\_isEnabled(), activateTabs(), checkLinkInput(), ilObject2GUI\checkPermission(), initFormLink(), isContainerMetaDataRequired(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjLinkResourceGUI::saveLinkCheck | ( | ) |
Definition at line 1258 of file class.ilObjLinkResourceGUI.php.
References $_POST, $DIC, $ilDB, $ilUser, and linkChecker().
Here is the call graph for this function:
|
protected |
Save container settings.
Definition at line 211 of file class.ilObjLinkResourceGUI.php.
References $DIC, ilObjectGUI\$object_service, ilObject2GUI\checkPermission(), initFormSettings(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Save nmanual sorting.
Definition at line 998 of file class.ilObjLinkResourceGUI.php.
References $_POST, ilContainerSorting\_getInstance(), ilObject2GUI\checkPermission(), and view().
Here is the call graph for this function:| ilObjLinkResourceGUI::setTabs | ( | ) |
get tabs @access public
Reimplemented from ilObject2GUI.
Definition at line 1380 of file class.ilObjLinkResourceGUI.php.
References $DIC, ilObjectGUI\$lng, ilObject2GUI\checkPermissionBool(), and ilObject2GUI\getCreationMode().
Here is the call graph for this function:
|
protected |
Edit settings Title, Description, Sorting.
Definition at line 194 of file class.ilObjLinkResourceGUI.php.
References $DIC, 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 593 of file class.ilObjLinkResourceGUI.php.
References ilParameterAppender\_isEnabled().
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 962 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 1016 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 980 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 869 of file class.ilObjLinkResourceGUI.php.
References $_GET, $DIC, $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 353 of file class.ilObjLinkResourceGUI.php.
References $DIC, $ilCtrl, ilParameterAppender\_isEnabled(), checkLinkInput(), initFormLink(), isContainerMetaDataRequired(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Update all visible links.
Definition at line 487 of file class.ilObjLinkResourceGUI.php.
References $_POST, ilObjectGUI\$data, $DIC, $ilCtrl, $param, activateTabs(), ilObject2GUI\checkPermission(), isContainerMetaDataRequired(), ilLinkInputGUI\isInternalLink(), ilLinkResourceItems\lookupItem(), ilUtil\sendFailure(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjLinkResourceGUI::view | ( | ) |
View object.
Reimplemented from ilObject2GUI.
Definition at line 894 of file class.ilObjLinkResourceGUI.php.
References $_GET, $DIC, $GLOBALS, ilObjectGUI\$ilErr, ilContainerSortingSettings\_lookupSortMode(), ilObject2GUI\checkPermission(), manage(), showLinks(), sort(), ilContainer\SORT_MANUAL, VIEW_MODE_MANAGE, and VIEW_MODE_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 30 of file class.ilObjLinkResourceGUI.php.
Referenced by initFormLink().
| const ilObjLinkResourceGUI::LINK_MOD_CREATE = 1 |
Definition at line 28 of file class.ilObjLinkResourceGUI.php.
Referenced by initFormLink().
| const ilObjLinkResourceGUI::LINK_MOD_EDIT = 2 |
Definition at line 29 of file class.ilObjLinkResourceGUI.php.
Referenced by initFormLink().
| const ilObjLinkResourceGUI::VIEW_MODE_MANAGE = 2 |
Definition at line 25 of file class.ilObjLinkResourceGUI.php.
Referenced by editLinks(), and view().
| const ilObjLinkResourceGUI::VIEW_MODE_SORT = 3 |
Definition at line 26 of file class.ilObjLinkResourceGUI.php.
Referenced by view().
| const ilObjLinkResourceGUI::VIEW_MODE_VIEW = 1 |
Definition at line 24 of file class.ilObjLinkResourceGUI.php.