ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
New implementation of ilObjectGUI. More...
Public Member Functions | |
__construct (int $id=0, int $id_type=self::REPOSITORY_NODE_ID, int $parent_node_id=0) | |
executeCommand () | |
execute command More... | |
getIdType () | |
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 (bool $mode=true) | |
If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More... | |
getCreationMode () | |
prepareOutput (bool $show_sub_objects=true) | |
isVisible (int $ref_id, string $type) | |
setColumnSettings (ilColumnGUI $column_gui) | |
view () | |
view object content (repository/workspace switch) More... | |
getType () | |
Functions that must be overwritten. More... | |
create () | |
CRUD. More... | |
save () | |
edit () | |
update () | |
cancel () | |
putObjectInTree (ilObject $obj, ?int $parent_node_id=null) | |
Add object to tree at given position. More... | |
![]() | |
getRefId () | |
setAdminMode (string $mode) | |
getAdminMode () | |
getObject () | |
executeCommand () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
setCreationMode (bool $mode=true) | |
If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More... | |
getCreationMode () | |
prepareOutput (bool $show_sub_objects=true) | |
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... | |
cancelObject () | |
cancel action and go back to previous page More... | |
createObject () | |
create new object form More... | |
editAvailabilityPeriodObject () | |
saveAvailabilityPeriodObject () | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
getDidacticTemplateVar (string $type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $obj, ?int $parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
addExternalEditFormCustom (ilPropertyFormGUI $form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction (string $cmd, string $default_form_action="") | |
Get form action for command (command is method name without "Object", e.g. More... | |
isVisible (int $ref_id, string $type) | |
viewObject () | |
viewObject container presentation for "administration -> repository, trash, permissions" More... | |
deleteObject (bool $error=false) | |
Display deletion confirmation screen. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
addToDeskObject () | |
removeFromDeskObject () | |
![]() | |
callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Static Public Member Functions | |
static | handleAfterSaveCallback (ilObject $obj, ?int $callback_ref_id) |
After creation callback. More... | |
![]() | |
static | _gotoRepositoryRoot (bool $raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode (int $ref_id, string $cmd="") |
static | _gotoSharedWorkspaceNode (int $wsp_id) |
Data Fields | |
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 |
![]() | |
const | ADMIN_MODE_NONE = "" |
const | ADMIN_MODE_SETTINGS = "settings" |
const | ADMIN_MODE_REPOSITORY = "repository" |
const | UPLOAD_TYPE_LOCAL = 1 |
const | UPLOAD_TYPE_UPLOAD_DIRECTORY = 2 |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
const | SUPPORTED_IMPORT_MIME_TYPES = [MimeType::APPLICATION__ZIP, MimeType::APPLICATION__X_ZIP_COMPRESSED] |
Protected Member Functions | |
afterConstructor () | |
Do anything that should be done after constructor in here. More... | |
assignObject () | |
create object instance as internal property (repository/workspace switch) More... | |
getAccessHandler () | |
setLocator () | |
set Locator More... | |
deleteConfirmedObjects () | |
Delete objects (workspace specific) This should probably be moved elsewhere as done with RepUtil. More... | |
setTitleAndDescription () | |
omitLocator (bool $omit=true) | |
getTargetFrame (string $cmd, string $target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame (string $cmd, string $target_frame) | |
Set specific target frame for command. More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
showPossibleSubObjects () | |
show possible sub objects (pull down menu) More... | |
redirectToRefId (int $ref_id, string $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 ["ref_id"] value of the request More... | |
addAdminLocatorItems (bool $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 (string $cmd, string $location="") | |
Deprecated functions. More... | |
setReturnLocation (string $cmd, string $location) | |
set specific return location for command More... | |
showActions () | |
getTabs () | |
@abstract overwrite in derived GUI class of your object type More... | |
addLocatorItems () | |
Functions to be overwritten. More... | |
checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $node_id=null) | |
initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
Add header action menu. More... | |
redrawHeaderAction () | |
Updating icons after ajax call. More... | |
![]() | |
getObjectService () | |
assignObject () | |
setTitleAndDescription () | |
createActionDispatcherGUI () | |
initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction (?ilObjectListGUI $list_gui=null) | |
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 More... | |
setAdminTabs () | |
set admin tabs More... | |
setLocator () | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator (bool $omit=true) | |
addAdminLocatorItems (bool $do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form) | |
getTitleForCreationFormPage () | |
getCreationFormTitle () | |
initCreateForm (string $new_type) | |
didacticTemplatesToForm () | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
retrieveAdditionalDidacticTemplateOptions () | |
addAdoptContentLinkToToolbar () | |
addImportButtonToToolbar () | |
addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar) | |
parseDidacticTemplateVar (string $var, string $type) | |
afterSave (ilObject $new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
routeImportCmdObject () | |
importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir) | |
deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir) | |
afterImport (ilObject $new_object) | |
Post (successful) object import hook. More... | |
setFormAction (string $cmd, string $form_action) | |
getReturnLocation (string $cmd, string $default_location="") | |
Get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation (string $cmd, string $location) | |
set specific return location for command More... | |
getTargetFrame (string $cmd, string $default_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame (string $cmd, string $target_frame) | |
Set specific target frame for command. More... | |
showPossibleSubObjects () | |
show possible sub objects (pull down menu) More... | |
getTabs () | |
@abstract overwrite in derived GUI class of your object type More... | |
redirectToRefId (int $ref_id, string $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 ["ref_id"] value of the request More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
getCreatableObjectTypes () | |
buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,) | |
buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes) | |
Private Attributes | |
ilObjectRequestRetriever | $retriever |
New implementation of ilObjectGUI.
(beta)
Differences to the ilObject implementation:
All new modules should derive from this class.
Definition at line 43 of file class.ilObject2GUI.php.
ilObject2GUI::__construct | ( | int | $id = 0 , |
int | $id_type = self::REPOSITORY_NODE_ID , |
||
int | $parent_node_id = 0 |
||
) |
Reimplemented in ilObjBlogGUI, ilObjCmiXapiGUI, ilObjContactAdministrationGUI, ilObjContentPageGUI, ilObjCourseVerificationGUI, ilObjDataCollectionGUI, ilObjFileGUI, ilObjHelpSettingsGUI, ilObjLegalNoticeGUI, ilObjItemGroupGUI, ilObjLTIConsumerGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioBaseGUI, ilObjPortfolioTemplateGUI, ilObjTermsOfServiceGUI, ilObjWikiSettingsGUI, ilObjWorkspaceRootFolderGUI, ilOrgUnitExtensionGUI, and ilObjFileServicesGUI.
Definition at line 83 of file class.ilObject2GUI.php.
References $access, $DIC, ilObjectGUI\$id, $id_type, $object_id, $params, ilObjectGUI\$tree, ilObject\_lookupObjectId(), ILIAS\Repository\access(), afterConstructor(), assignObject(), ILIAS\Repository\ctrl(), error(), getType(), ILIAS\Repository\html(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\locator(), ILIAS\Repository\object(), OBJECT_ID, PORTFOLIO_OBJECT_ID, ILIAS\Repository\refinery(), REPOSITORY_NODE_ID, REPOSITORY_OBJECT_ID, ILIAS\Repository\settings(), ILIAS\Repository\toolbar(), ILIAS\Repository\user(), WORKSPACE_NODE_ID, and WORKSPACE_OBJECT_ID.
|
finalprotected |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 509 of file class.ilObject2GUI.php.
Referenced by ilObjectPluginGUI\executeCommand().
|
protected |
Functions to be overwritten.
Reimplemented from ilObjectGUI.
Reimplemented in ilObjBibliographicGUI, ilObjBlogGUI, ilObjCmiXapiGUI, ilObjContentPageGUI, ilObjDataCollectionGUI, ilObjFileGUI, ilObjItemGroupGUI, ilObjLTIConsumerGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioBaseGUI, ilObjectPluginGUI, and ilObjLinkResourceGUI.
Definition at line 600 of file class.ilObject2GUI.php.
Referenced by setLocator().
|
protected |
Do anything that should be done after constructor in here.
Reimplemented in ilObjItemGroupGUI, and ilObjMediaPoolGUI.
Definition at line 215 of file class.ilObject2GUI.php.
Referenced by __construct().
|
finalprotected |
create object instance as internal property (repository/workspace switch)
Reimplemented from ilObjectGUI.
Definition at line 259 of file class.ilObject2GUI.php.
References ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), OBJECT_ID, PORTFOLIO_OBJECT_ID, REPOSITORY_NODE_ID, REPOSITORY_OBJECT_ID, WORKSPACE_NODE_ID, and WORKSPACE_OBJECT_ID.
Referenced by ilObjAdministrativeNotificationGUI\__construct(), ilObjFooterAdministrationGUI\__construct(), ilObjMainMenuGUI\__construct(), and __construct().
ilObject2GUI::cancel | ( | ) |
Reimplemented in ilObjTaxonomyGUI.
Definition at line 628 of file class.ilObject2GUI.php.
|
finalprotected |
Reimplemented from ilObjectGUI.
Definition at line 489 of file class.ilObject2GUI.php.
Referenced by ilObjHelpSettingsGUI\activateModule(), ilObjLinkResourceGUI\addLink(), ilObjMediaPoolGUI\allMedia(), ilObjHelpSettingsGUI\confirmHelpModulesDeletion(), ilObjMediaPoolGUI\confirmRemove(), ilObjMediaPoolGUI\copyToClipboard(), ilObjMediaPoolGUI\createFolderForm(), ilObjHelpSettingsGUI\deactivateModule(), ilObjHelpSettingsGUI\deleteHelpModules(), ilObjLinkResourceGUI\deleteParameter(), ilObjLinkResourceGUI\deleteParameterForm(), ilObjMediaPoolGUI\editFolder(), ilObjLinkResourceGUI\editLink(), ilObjBlogGUI\executeCommand(), ilObjDataCollectionGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjectPluginGUI\infoScreen(), ilObjBlogGUI\infoScreenForward(), ilObjDataCollectionGUI\infoScreenForward(), ilObjPortfolioTemplateGUI\infoScreenForward(), ilObjMediaPoolGUI\insertFromClipboard(), ilObjItemGroupGUI\listMaterials(), ilObjMediaPoolGUI\listMedia(), ilObjMediaPoolGUI\openClipboard(), ilObjMediaPoolGUI\remove(), ilObjLinkResourceGUI\saveAddLink(), ilObjContactAdministrationGUI\saveConfigurationForm(), ilObjMediaPoolGUI\saveFolder(), ilObjItemGroupGUI\saveItemAssignment(), ilObjLinkResourceGUI\saveLinkList(), ilObjHelpSettingsGUI\saveOrdering(), ilObjHelpSettingsGUI\setMode(), ilObjLinkResourceGUI\settings(), ilObjMediaPoolGUI\showMedia(), ilObjMediaPoolGUI\showPreview(), ilObjMediaPoolGUI\updateFolder(), ilObjLinkResourceGUI\updateLinks(), and ilObjContentPageGUI\view().
|
protected |
Reimplemented from ilObjectGUI.
Reimplemented in ilObjPortfolioGUI, and ilObjTaxonomyGUI.
Definition at line 712 of file class.ilObject2GUI.php.
Referenced by ilObjWorkspaceFolderGUI\addContentSubTabs(), ilObjContentPageGUI\addToNavigationHistory(), ilObjPollGUI\confirmDeleteAllVotes(), ilObjWorkspaceFolderGUI\cut(), ilObjPollGUI\deleteAllVotes(), ilObjWorkspaceFolderGUI\deleteConfirmation(), ilObjPortfolioBaseGUI\determinePageCall(), ilObjDataCollectionGUI\edit(), ilObjItemGroupGUI\edit(), ilObjBibliographicGUI\editObject(), ilRemoteObjectBaseGUI\editObject(), ilObjHelpSettingsGUI\editSettings(), ilObjBlogGUI\executeCommand(), ilObjDataCollectionGUI\executeCommand(), ilObjLegalNoticeGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilRemoteObjectBaseGUI\executeCommand(), ilObjContactAdministrationGUI\getAdminTabs(), ilObjHelpSettingsGUI\getAdminTabs(), ilObjWikiSettingsGUI\getAdminTabs(), ilObjContactAdministrationGUI\getConfigurationForm(), ilObjContentPageGUI\getContent(), ilObjBlogGUI\infoScreenForward(), ilObjCmiXapiGUI\infoScreenForward(), ilObjContentPageGUI\infoScreenForward(), ilObjDataCollectionGUI\infoScreenForward(), ilObjPortfolioTemplateGUI\infoScreenForward(), ilObjWikiSettingsGUI\initForm(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjBlogGUI\render(), ilObjPollGUI\render(), ilObjContentPageGUI\renderHeaderActions(), ilObjItemGroupGUI\save(), ilObjBibliographicGUI\saveObject(), ilObjLTIConsumerGUI\saveObject(), ilObjLinkResourceGUI\saveObject(), ilObjWikiSettingsGUI\saveSettings(), ilObjHelpSettingsGUI\setMode(), ilObjContentPageGUI\setSettingsSubTabs(), ilObjBlogGUI\setTabs(), ilObjContentPageGUI\setTabs(), ilObjPollGUI\setTabs(), ilObjPortfolioTemplateGUI\setTabs(), ilRemoteObjectBaseGUI\setTabs(), ilObjPollGUI\showParticipants(), ilObjPollGUI\showParticipantVotes(), ilObjDataCollectionGUI\update(), ilRemoteObjectBaseGUI\updateObject(), and ilObjHelpSettingsGUI\uploadHelpFile().
ilObject2GUI::confirmedDelete | ( | ) |
Delete objects (repository/workspace switch)
Reimplemented in ilObjTaxonomyGUI.
Definition at line 366 of file class.ilObject2GUI.php.
References deleteConfirmedObjects(), OBJECT_ID, PORTFOLIO_OBJECT_ID, REPOSITORY_NODE_ID, REPOSITORY_OBJECT_ID, WORKSPACE_NODE_ID, and WORKSPACE_OBJECT_ID.
ilObject2GUI::create | ( | ) |
CRUD.
Reimplemented in ilObjCmiXapiVerificationGUI, ilObjCourseVerificationGUI, ilObjExerciseVerificationGUI, ilObjLTIConsumerVerificationGUI, ilObjPortfolioGUI, ilObjSCORMVerificationGUI, and ilObjTestVerificationGUI.
Definition at line 612 of file class.ilObject2GUI.php.
ilObject2GUI::delete | ( | ) |
Display delete confirmation form (repository/workspace switch)
Definition at line 343 of file class.ilObject2GUI.php.
References OBJECT_ID, PORTFOLIO_OBJECT_ID, REPOSITORY_NODE_ID, REPOSITORY_OBJECT_ID, WORKSPACE_NODE_ID, and WORKSPACE_OBJECT_ID.
|
protected |
Delete objects (workspace specific) This should probably be moved elsewhere as done with RepUtil.
Definition at line 390 of file class.ilObject2GUI.php.
References $node_id, ilObjectGUI\$object, ILIAS\Repository\ctrl(), ilObject\delete(), getAccessHandler(), ilObjectFactory\getInstanceByObjId(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Referenced by confirmedDelete().
ilObject2GUI::edit | ( | ) |
Reimplemented in ilObjBlogGUI, ilObjDataCollectionGUI, ilObjFileGUI, ilObjItemGroupGUI, ilObjMediaPoolGUI, ilObjPortfolioGUI, ilObjPortfolioTemplateGUI, and ilObjWorkspaceFolderGUI.
Definition at line 620 of file class.ilObject2GUI.php.
ilObject2GUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Reimplemented in ilObjAdministrativeNotificationGUI, ilObjBibliographicGUI, ilObjBlogGUI, ilObjContactAdministrationGUI, ilObjDataCollectionGUI, ilObjDataProtectionGUI, ilObjFileServicesGUI, ilObjFooterAdministrationGUI, ilObjHelpSettingsGUI, ilObjLegalNoticeGUI, ilObjItemGroupGUI, ilObjLegalDocumentsGUI, ilObjMainMenuGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioGUI, ilObjPortfolioTemplateGUI, ilObjectPluginGUI, ilObjTaxonomyGUI, ilObjTermsOfServiceGUI, ilObjLinkResourceGUI, ilRemoteObjectBaseGUI, ilObjWikiSettingsGUI, and ilObjWorkspaceFolderGUI.
Definition at line 222 of file class.ilObject2GUI.php.
References ILIAS\Repository\ctrl(), getAccessHandler(), and prepareOutput().
Referenced by ilObjPortfolioTemplateGUI\executeCommand().
|
protected |
Definition at line 285 of file class.ilObject2GUI.php.
References $access_handler.
Referenced by ilObjBlogGUI\__construct(), ilObjWorkspaceFolderGUI\applyShareFilter(), ilObjWorkspaceFolderGUI\copyShared(), deleteConfirmedObjects(), ilObjBlogGUI\executeCommand(), executeCommand(), ilObjPollGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjWorkspaceFolderGUI\initPasswordForm(), ilObjWorkspaceFolderGUI\listSharedResourcesOfOtherUser(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjWorkspaceFolderGUI\render(), ilObjCmiXapiVerificationGUI\render(), ilObjLTIConsumerVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjTestVerificationGUI\render(), ilObjWorkspaceFolderGUI\resetShareFilter(), ilObjWorkspaceFolderGUI\setTabs(), and ilObjWorkspaceFolderGUI\share().
|
finalprotected |
Get center column.
Reimplemented from ilObjectGUI.
Definition at line 477 of file class.ilObject2GUI.php.
|
final |
Reimplemented from ilObjectGUI.
Definition at line 449 of file class.ilObject2GUI.php.
Referenced by ilObjMediaPoolGUI\addLocatorItems(), ilObjectPluginGUI\addLocatorItems(), ilObjContentPageGUI\addToNavigationHistory(), ilObjMediaPoolGUI\afterConstructor(), ilObjBlogGUI\executeCommand(), ilObjDataCollectionGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjContentPageGUI\initEditCustomForm(), ilObjContentPageGUI\renderHeaderActions(), and ilOrgUnitExtensionGUI\setLocator().
ilObject2GUI::getHTML | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 433 of file class.ilObject2GUI.php.
ilObject2GUI::getIdType | ( | ) |
Definition at line 251 of file class.ilObject2GUI.php.
References $id_type.
Referenced by ilObjFileAbstractZipProcessor\__construct(), and ilObjLinkResourceGUI\executeCommand().
|
finalprotected |
Deprecated functions.
Reimplemented from ilObjectGUI.
Definition at line 580 of file class.ilObject2GUI.php.
|
finalprotected |
Display right column.
Reimplemented from ilObjectGUI.
Definition at line 481 of file class.ilObject2GUI.php.
|
finalprotected |
@abstract overwrite in derived GUI class of your object type
Reimplemented from ilObjectGUI.
Definition at line 592 of file class.ilObject2GUI.php.
|
finalprotected |
get target frame for command (command is method name without "Object", e.g.
"perm")
Reimplemented from ilObjectGUI.
Definition at line 465 of file class.ilObject2GUI.php.
References ilObjectGUI\$target_frame.
|
abstract |
Functions that must be overwritten.
Reimplemented in ilObjAdministrativeNotificationGUI, ilObjBibliographicGUI, ilObjBlogGUI, ilObjCmiXapiGUI, ilObjCmiXapiVerificationGUI, ilObjContactAdministrationGUI, ilObjContentPageGUI, ilObjCourseVerificationGUI, ilObjDataCollectionGUI, ilObjDataProtectionGUI, ilObjExerciseVerificationGUI, ilObjFileGUI, ilObjFileServicesGUI, ilObjFooterAdministrationGUI, ilObjHelpSettingsGUI, ilObjLegalNoticeGUI, ilObjItemGroupGUI, ilObjLegalDocumentsGUI, ilObjLTIConsumerGUI, ilObjLTIConsumerVerificationGUI, ilObjMainMenuGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioGUI, ilObjPortfolioTemplateGUI, ilObjRemoteCategoryGUI, ilObjRemoteCourseGUI, ilObjRemoteFileGUI, ilObjRemoteGlossaryGUI, ilObjRemoteGroupGUI, ilObjRemoteLearningModuleGUI, ilObjRemoteTestGUI, ilObjRemoteWikiGUI, ilObjSCORMVerificationGUI, ilObjTaxonomyGUI, ilObjTermsOfServiceGUI, ilObjTestVerificationGUI, ilObjLinkResourceGUI, ilObjWikiSettingsGUI, ilObjWorkspaceFolderGUI, and ilObjWorkspaceRootFolderGUI.
Referenced by __construct(), ilRemoteObjectBaseGUI\callObject(), ilObjectPluginGUI\executeCommand(), ilObjectPluginGUI\getCreationFormTitle(), ilObjectPluginGUI\getPlugin(), ilRemoteObjectBaseGUI\infoScreen(), ilRemoteObjectBaseGUI\initEditForm(), and ilRemoteObjectBaseGUI\updateObject().
|
static |
After creation callback.
Definition at line 694 of file class.ilObject2GUI.php.
References $DIC, ilObject\_lookupType(), and ILIAS\Repository\int().
|
protected |
Add header action menu.
Reimplemented from ilObjectGUI.
Reimplemented in ilObjFileGUI, ilObjLTIConsumerGUI, and ilObjCmiXapiGUI.
Definition at line 744 of file class.ilObject2GUI.php.
References ILIAS\Repository\ctrl(), ilObjectListGUI\prepareJsLinks(), and ilCommonActionDispatcherGUI\TYPE_WORKSPACE.
|
final |
Reimplemented from ilObjectGUI.
Definition at line 473 of file class.ilObject2GUI.php.
References ilObjectGUI\$ref_id, $type, and ILIAS\GlobalScreen\Scope\isVisible().
|
finalprotected |
Reimplemented from ilObjectGUI.
Definition at line 461 of file class.ilObject2GUI.php.
|
final |
Reimplemented from ilObjectGUI.
Definition at line 453 of file class.ilObject2GUI.php.
Referenced by ilObjBlogGUI\createExportFile(), ilObjBlogGUI\createExportFileWithComments(), ilObjAdministrativeNotificationGUI\executeCommand(), ilObjBibliographicGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjContactAdministrationGUI\executeCommand(), ilObjDataCollectionGUI\executeCommand(), ilObjDataProtectionGUI\executeCommand(), ilObjFileServicesGUI\executeCommand(), ilObjFooterAdministrationGUI\executeCommand(), ilObjHelpSettingsGUI\executeCommand(), executeCommand(), ilObjLegalNoticeGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjMainMenuGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjTermsOfServiceGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilRemoteObjectBaseGUI\executeCommand(), ilObjWikiSettingsGUI\executeCommand(), ilObjWorkspaceFolderGUI\executeCommand(), and ilObjBlogGUI\showExportGUI().
ilObject2GUI::putObjectInTree | ( | ilObject | $obj, |
?int | $parent_node_id = null |
||
) |
Add object to tree at given position.
Reimplemented from ilObjectGUI.
Reimplemented in ilObjFileGUI.
Definition at line 636 of file class.ilObject2GUI.php.
References ilChangeEvent\_recordWriteEvent(), ilRbacLog\add(), ilRbacLog\CREATE_OBJECT, ilObject\createReference(), ILIAS\Repository\ctrl(), ilRbacLog\gatherFaPa(), ilObject\getId(), ilObject\getRefId(), ilObject\putInTree(), ilObject\setPermissions(), and ILIAS\Repository\user().
Referenced by ilObjLTIConsumerGUI\createNewObject(), ilObjCmiXapiVerificationGUI\save(), ilObjCourseVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilObjItemGroupGUI\save(), ilObjLTIConsumerVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), ilObjTestVerificationGUI\save(), ilObjBibliographicGUI\saveObject(), ilObjLTIConsumerGUI\saveObject(), and ilObjLinkResourceGUI\saveObject().
|
finalprotected |
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 ["ref_id"] value of the request
Reimplemented from ilObjectGUI.
Definition at line 502 of file class.ilObject2GUI.php.
References $ref_id.
|
protected |
Updating icons after ajax call.
Definition at line 788 of file class.ilObject2GUI.php.
ilObject2GUI::save | ( | ) |
Reimplemented in ilObjBibliographicGUI, ilObjCmiXapiVerificationGUI, ilObjCourseVerificationGUI, ilObjExerciseVerificationGUI, ilObjItemGroupGUI, ilObjLTIConsumerVerificationGUI, ilObjPortfolioGUI, ilObjSCORMVerificationGUI, ilObjTaxonomyGUI, ilObjTestVerificationGUI, and ilObjLinkResourceGUI.
Definition at line 616 of file class.ilObject2GUI.php.
|
final |
Reimplemented from ilObjectGUI.
Definition at line 485 of file class.ilObject2GUI.php.
|
final |
If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI.
Reimplemented from ilObjectGUI.
Definition at line 445 of file class.ilObject2GUI.php.
Referenced by ilObjMediaPoolGUI\executeCommand().
|
protected |
set Locator
Reimplemented from ilObjectGUI.
Reimplemented in ilOrgUnitExtensionGUI.
Definition at line 293 of file class.ilObject2GUI.php.
References $parent_id, ilObjectGUI\$ref_id, addLocatorItems(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\locator(), REPOSITORY_NODE_ID, and WORKSPACE_NODE_ID.
Referenced by ilObjBlogGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), and ilObjectPluginGUI\executeCommand().
|
finalprotected |
set specific return location for command
Reimplemented from ilObjectGUI.
Definition at line 584 of file class.ilObject2GUI.php.
|
protected |
create tabs (repository/workspace switch)
this had to be moved here because of the context-specific permission tab
Reimplemented from ilObjectGUI.
Reimplemented in ilObjBlogGUI, ilObjCmiXapiGUI, ilObjContentPageGUI, ilObjDataCollectionGUI, ilObjFileGUI, ilObjItemGroupGUI, ilObjLTIConsumerGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioGUI, ilObjPortfolioTemplateGUI, ilObjLinkResourceGUI, and ilRemoteObjectBaseGUI.
Definition at line 542 of file class.ilObject2GUI.php.
References ILIAS\Repository\lng().
Referenced by ilObjectPluginGUI\executeCommand(), and ilObjPortfolioTemplateGUI\setTabs().
|
finalprotected |
Set specific target frame for command.
Reimplemented from ilObjectGUI.
Definition at line 469 of file class.ilObject2GUI.php.
References ilObjectGUI\$target_frame.
|
protected |
Reimplemented from ilObjectGUI.
Reimplemented in ilObjContentPageGUI, ilObjFileServicesGUI, ilObjPortfolioGUI, and ilObjWorkspaceRootFolderGUI.
Definition at line 457 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 588 of file class.ilObject2GUI.php.
|
finalprotected |
show possible sub objects (pull down menu)
Reimplemented from ilObjectGUI.
Definition at line 497 of file class.ilObject2GUI.php.
ilObject2GUI::update | ( | ) |
Reimplemented in ilObjDataCollectionGUI, and ilObjWorkspaceFolderGUI.
Definition at line 624 of file class.ilObject2GUI.php.
Referenced by ilObjDataProtectionGUI\form(), and ilObjTermsOfServiceGUI\form().
ilObject2GUI::view | ( | ) |
view object content (repository/workspace switch)
Reimplemented in ilObjBibliographicGUI, ilObjContentPageGUI, ilObjDataProtectionGUI, ilObjPortfolioBaseGUI, and ilObjLinkResourceGUI.
Definition at line 517 of file class.ilObject2GUI.php.
|
final |
Final/Private declaration of unchanged parent methods.
Reimplemented from ilObjectGUI.
Definition at line 441 of file class.ilObject2GUI.php.
|
protected |
Definition at line 61 of file class.ilObject2GUI.php.
Referenced by __construct(), ilObjCmiXapiGUI\_goto(), ilObjDataCollectionGUI\_goto(), ilObjectPluginGUI\addInfoTab(), ilObjectPluginGUI\addInilPluginAdminfoTab(), ilObjItemGroupGUI\addLocatorItems(), ilObjMediaPoolGUI\addLocatorItems(), ilObjectPluginGUI\addPermissionTab(), ilObjMediaPoolGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjItemGroupGUI\gotoParent(), ilObjMediaPoolGUI\listMedia(), ilObjBlogGUI\setSettingsSubTabs(), and ilObjItemGroupGUI\setTabs().
|
protected |
Definition at line 80 of file class.ilObject2GUI.php.
Referenced by getAccessHandler(), ilObjCmiXapiVerificationGUI\render(), ilObjLTIConsumerVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), and ilObjTestVerificationGUI\render().
|
protected |
Definition at line 76 of file class.ilObject2GUI.php.
|
protected |
Definition at line 54 of file class.ilObject2GUI.php.
Referenced by ilObjCmiXapiVerificationGUI\_goto(), ilObjLTIConsumerVerificationGUI\_goto(), ilObjCmiXapiGUI\_goto(), ilObjCourseVerificationGUI\_goto(), ilObjWorkspaceFolderGUI\_goto(), ilObjWorkspaceFolderGUI\addContentSubTabs(), ilObjectPluginGUI\addPermissionTab(), ilObjBlogGUI\afterSave(), ilObjectPluginGUI\afterSave(), ilObjMediaPoolGUI\allMedia(), ilObjMediaPoolGUI\cancelFolderUpdate(), ilObjMediaPoolGUI\cancelSave(), ilObjMediaPoolGUI\confirmRemove(), ilObjBlogGUI\createPosting(), ilObjBlogGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjectPluginGUI\infoScreen(), ilObjectPluginGUI\initEditForm(), ilObjMediaPoolGUI\initFolderForm(), ilObjWikiSettingsGUI\initForm(), ilObjWorkspaceFolderGUI\initPasswordForm(), ilObjMediaPoolGUI\listMedia(), ilObjMediaPoolGUI\openClipboard(), ilObjBlogGUI\render(), ilObjWorkspaceFolderGUI\render(), ilObjMediaPoolGUI\returnFromItem(), ilObjMediaPoolGUI\saveFolder(), ilObjItemGroupGUI\saveItemAssignment(), ilObjWikiSettingsGUI\saveSettings(), and ilObjMediaPoolGUI\updateFolder().
|
protected |
Definition at line 58 of file class.ilObject2GUI.php.
Referenced by ilObjLTIConsumerGUI\addDynReg().
|
protected |
Definition at line 57 of file class.ilObject2GUI.php.
|
protected |
Definition at line 72 of file class.ilObject2GUI.php.
|
protected |
Definition at line 69 of file class.ilObject2GUI.php.
Referenced by ilObjFileServicesGUI\__construct(), __construct(), and getIdType().
|
protected |
Definition at line 55 of file class.ilObject2GUI.php.
Referenced by ilObjectPluginGUI\_goto(), ilObjCmiXapiGUI\_goto(), ilObjItemGroupGUI\_goto(), ilRemoteObjectBaseGUI\_goto(), ilObjWorkspaceFolderGUI\addContentSubTabs(), ilObjItemGroupGUI\afterConstructor(), ilObjMediaPoolGUI\afterConstructor(), ilObjWorkspaceFolderGUI\checkPassword(), ilObjMediaPoolGUI\confirmRemove(), ilObjWorkspaceFolderGUI\deleteConfirmation(), ilObjBlogGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjWikiSettingsGUI\executeCommand(), ilObjectPluginGUI\infoScreen(), ilObjectPluginGUI\initEditForm(), ilObjMediaPoolGUI\initFolderForm(), ilObjWikiSettingsGUI\initForm(), ilObjWorkspaceFolderGUI\initPasswordForm(), ilObjMediaPoolGUI\listMedia(), ilObjWorkspaceFolderGUI\passwordForm(), ilObjBlogGUI\render(), ilObjCmiXapiVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjMediaPoolGUI\saveFolder(), ilObjWikiSettingsGUI\saveSettings(), ilObjBlogGUI\setTabs(), ilObjItemGroupGUI\setTabs(), ilObjWorkspaceFolderGUI\setTabs(), ilObjWorkspaceRootFolderGUI\setTitleAndDescription(), ilObjWorkspaceFolderGUI\showAdministrationPanel(), and ilObjMediaPoolGUI\updateFolder().
|
protected |
Definition at line 59 of file class.ilObject2GUI.php.
Referenced by ilObjCmiXapiGUI\addLocatorItems(), ilObjItemGroupGUI\addLocatorItems(), ilObjMediaPoolGUI\addLocatorItems(), ilObjPortfolioBaseGUI\addLocatorItems(), and ilObjectPluginGUI\addLocatorItems().
|
protected |
Definition at line 75 of file class.ilObject2GUI.php.
Referenced by ilObjWorkspaceFolderGUI\checkPassword(), ilObjWorkspaceFolderGUI\deleteConfirmation(), deleteConfirmedObjects(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjCmiXapiVerificationGUI\save(), ilObjCourseVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilObjLTIConsumerVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), and ilObjTestVerificationGUI\save().
|
protected |
Definition at line 52 of file class.ilObject2GUI.php.
|
protected |
Definition at line 74 of file class.ilObject2GUI.php.
Referenced by __construct().
|
protected |
Definition at line 70 of file class.ilObject2GUI.php.
Referenced by ilObjFileGUI\getParentId(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjCmiXapiVerificationGUI\save(), ilObjCourseVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilObjLTIConsumerVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), ilObjTestVerificationGUI\save(), setLocator(), and ilOrgUnitExtensionGUI\setLocator().
|
protected |
Definition at line 64 of file class.ilObject2GUI.php.
|
protected |
Definition at line 66 of file class.ilObject2GUI.php.
|
protected |
Definition at line 65 of file class.ilObject2GUI.php.
|
protected |
Definition at line 63 of file class.ilObject2GUI.php.
|
protected |
Definition at line 68 of file class.ilObject2GUI.php.
|
private |
Definition at line 81 of file class.ilObject2GUI.php.
|
protected |
Definition at line 56 of file class.ilObject2GUI.php.
Referenced by ilObjExerciseVerificationGUI\create().
|
protected |
Definition at line 62 of file class.ilObject2GUI.php.
Referenced by ilObjPortfolioTemplateGUI\infoScreenForward(), ilObjMediaPoolGUI\listMedia(), and ilObjWorkspaceFolderGUI\showAdministrationPanel().
|
protected |
Definition at line 53 of file class.ilObject2GUI.php.
Referenced by ilObjDataCollectionGUI\_goto(), ilObjMediaPoolGUI\allMedia(), ilObjMediaPoolGUI\createFolderForm(), ilObjWorkspaceFolderGUI\deleteConfirmation(), ilObjMediaPoolGUI\editFolder(), ilObjWikiSettingsGUI\editSettings(), ilObjBlogGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjItemGroupGUI\listMaterials(), ilObjMediaPoolGUI\listMedia(), ilObjWorkspaceFolderGUI\passwordForm(), ilObjBlogGUI\render(), ilObjWorkspaceFolderGUI\render(), ilObjMediaPoolGUI\saveFolder(), ilObjWorkspaceRootFolderGUI\setTitleAndDescription(), ilObjWorkspaceFolderGUI\share(), ilObjMediaPoolGUI\showPage(), and ilObjMediaPoolGUI\updateFolder().
|
protected |
Definition at line 71 of file class.ilObject2GUI.php.
Referenced by ilObjWorkspaceFolderGUI\buildAvailableObjectTypes(), ilObjWorkspaceFolderGUI\buildObjectType(), ilObjMediaPoolGUI\confirmRemove(), ilObjMediaPoolGUI\copyToClipboard(), ilObjWorkspaceFolderGUI\deleteConfirmation(), ilObjDataProtectionGUI\form(), ilObjCmiXapiGUI\initCreateForm(), isVisible(), ilObjMediaPoolGUI\returnFromItem(), and ilObjContactAdministrationGUI\saveConfigurationForm().
|
protected |
Definition at line 60 of file class.ilObject2GUI.php.
Referenced by ilObjMediaPoolGUI\allMedia(), ilObjWorkspaceFolderGUI\copy(), ilObjMediaPoolGUI\copyToClipboard(), ilObjBlogGUI\createPosting(), ilObjPortfolioTemplateGUI\initDidacticTemplate(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjWorkspaceFolderGUI\render(), and ilObjExerciseVerificationGUI\save().
const ilObject2GUI::OBJECT_ID = 0 |
Definition at line 45 of file class.ilObject2GUI.php.
Referenced by ilObjTaxonomyGUI\__construct(), __construct(), assignObject(), confirmedDelete(), and delete().
const ilObject2GUI::PORTFOLIO_OBJECT_ID = 5 |
Definition at line 50 of file class.ilObject2GUI.php.
Referenced by __construct(), assignObject(), confirmedDelete(), and delete().
const ilObject2GUI::REPOSITORY_NODE_ID = 1 |
Definition at line 46 of file class.ilObject2GUI.php.
Referenced by __construct(), assignObject(), confirmedDelete(), delete(), ilAdministrationGUI\executeCommand(), ilRepositoryGUI\executeCommand(), ilLinkResourceHandlerGUI\executeCommand(), ilFileVersionsGUI\getParentIdType(), ilAdministrationSettingsFormHandler\getSettingsGUIInstance(), ilObjectGUI\routeImportCmdObject(), and setLocator().
const ilObject2GUI::REPOSITORY_OBJECT_ID = 3 |
Definition at line 48 of file class.ilObject2GUI.php.
Referenced by __construct(), assignObject(), confirmedDelete(), and delete().
const ilObject2GUI::WORKSPACE_NODE_ID = 2 |
Definition at line 47 of file class.ilObject2GUI.php.
Referenced by __construct(), assignObject(), confirmedDelete(), delete(), ilPersonalWorkspaceGUI\executeCommand(), ilSharedResourceGUI\executeCommand(), ilFileVersionsGUI\getParentIdType(), ilObjFileAbstractZipProcessor\isWorkspace(), ILIAS\Blog\Permission\PermissionManager\mayContribute(), and setLocator().
const ilObject2GUI::WORKSPACE_OBJECT_ID = 4 |
Definition at line 49 of file class.ilObject2GUI.php.
Referenced by __construct(), assignObject(), confirmedDelete(), delete(), ilPortfolioPageGUI\dlcmxv(), ilPortfolioPageGUI\dlcrsv(), ilPortfolioPageGUI\dlexcv(), ilPortfolioPageGUI\dlltiv(), ilPortfolioPageGUI\dlscov(), ilPortfolioPageGUI\dltstv(), and ilObjLinkResourceGUI\executeCommand().