|
ILIAS
trunk Revision v12.0_alpha-1540-g00f839d5fa1
|
Collaboration diagram for ilFileVersionsGUI:Public Member Functions | |
| __construct (private ilObjFile $file, private CapabilityCollection $capabilities) | |
| ilFileVersionsGUI constructor. More... | |
| executeCommand () | |
| getFile () | |
Protected Member Functions | |
| performCommand () | |
| setBackTab () | |
| renderDeleteSelectedVersionsModal () | |
| getDeleteSelectedVersionsModal () | |
| checkSanityOfDeletionRequest (array $requested_deletion_version, bool $redirect) | |
| getUIFactory () | |
| getLanguage () | |
Protected Attributes | |
| UIServices | $ui |
| ilLanguage | $lng |
| ilCtrl | $ctrl |
| int | $version_id = null |
| ilTree | $tree |
| int | $parent_id |
| Refinery | $refinery |
| LOMServices | $lom_services |
Private Member Functions | |
| unzipCurrentRevision () | |
| publish () | |
| unpublish () | |
| processUnzip () | |
| index () | |
| addVersion (int $mode=ilFileVersionFormGUI::MODE_ADD) | |
| saveVersion (int $mode=ilFileVersionFormGUI::MODE_ADD) | |
| downloadVersion () | |
| rollbackVersion () | |
| confirmDeleteVersions () | |
| confirmDeleteFile () | |
| getTable () | |
| getVersionIdsFromRequest () | |
| hasPermission (string $a_permission) | |
| bugfix mantis 26007: this function was created to ensure that the access check not only works for repository objects but for workspace objects too More... | |
| getFileZipOptionsForm () | |
| getFileProcessor (bool $keep_structure) | |
| getIdentification () | |
| getCurrentFileRevision () | |
| getParentIdType () | |
| isWorkspaceContext () | |
Private Attributes | |
| ilToolbarGUI | $toolbar |
| VersionsTable | $table = null |
| ILIAS ResourceStorage Services | $storage |
| ActionRepository | $action_repo |
| Revision | $current_revision |
| ilAccessHandler | $access |
| ilWorkspaceAccessHandler | $wsp_access |
| int | $ref_id |
| Services | $http |
| ilTabsGUI | $tabs |
| ilGlobalTemplateInterface | $tpl |
| ilFileServicesSettings | $file_service_settings |
| ilObjFileComponentBuilder | $file_component_builder |
Definition at line 45 of file class.ilFileVersionsGUI.php.
| ilFileVersionsGUI::__construct | ( | private ilObjFile | $file, |
| private CapabilityCollection | $capabilities | ||
| ) |
ilFileVersionsGUI constructor.
Definition at line 99 of file class.ilFileVersionsGUI.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), getCurrentFileRevision(), getParentIdType(), ILIAS\FileDelivery\http(), isWorkspaceContext(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\ui().
Here is the call graph for this function:
|
private |
Definition at line 354 of file class.ilFileVersionsGUI.php.
References setBackTab().
Referenced by performCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 548 of file class.ilFileVersionsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\ResourceStorage\Revision\DRAFT, and ILIAS\Repository\lng().
Referenced by getDeleteSelectedVersionsModal().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 425 of file class.ilFileVersionsGUI.php.
References $parent_id, ILIAS\Repository\ctrl(), and ilRepUtil\deleteObjects().
Referenced by performCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 412 of file class.ilFileVersionsGUI.php.
References ILIAS\Repository\ctrl(), getVersionIdsFromRequest(), and ILIAS\Repository\lng().
Referenced by performCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 376 of file class.ilFileVersionsGUI.php.
Referenced by performCommand().
Here is the caller graph for this function:| ilFileVersionsGUI::executeCommand | ( | ) |
Definition at line 167 of file class.ilFileVersionsGUI.php.
References ILIAS\Repository\ctrl(), hasPermission(), ILIAS\Repository\lng(), and performCommand().
Here is the call graph for this function:
|
private |
Definition at line 663 of file class.ilFileVersionsGUI.php.
References getIdentification().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 513 of file class.ilFileVersionsGUI.php.
References Vendor\Package\$a, Vendor\Package\$b, checkSanityOfDeletionRequest(), ILIAS\Repository\ctrl(), and getVersionIdsFromRequest().
Referenced by renderDeleteSelectedVersionsModal().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileVersionsGUI::getFile | ( | ) |
Definition at line 436 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionFormGUI\__construct().
Here is the caller graph for this function:
|
private |
Definition at line 627 of file class.ilFileVersionsGUI.php.
References getParentIdType().
Referenced by processUnzip().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 570 of file class.ilFileVersionsGUI.php.
References ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\Repository\ctrl(), KEY_COPYRIGHT_OPTION, KEY_FILE_RID, KEY_FILE_STRUCTURE, KEY_INHERIT_COPYRIGHT, KEY_SELECT_COPYRIGHT, ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by processUnzip().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 658 of file class.ilFileVersionsGUI.php.
Referenced by getCurrentFileRevision(), publish(), and unpublish().
Here is the caller graph for this function:
|
protected |
Definition at line 690 of file class.ilFileVersionsGUI.php.
References $lng.
|
private |
Definition at line 673 of file class.ilFileVersionsGUI.php.
References isWorkspaceContext(), ilObject2GUI\REPOSITORY_NODE_ID, and ilObject2GUI\WORKSPACE_NODE_ID.
Referenced by __construct(), and getFileProcessor().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 441 of file class.ilFileVersionsGUI.php.
Referenced by getVersionIdsFromRequest(), and index().
Here is the caller graph for this function:
|
protected |
Definition at line 685 of file class.ilFileVersionsGUI.php.
References ILIAS\Repository\ui().
Here is the call graph for this function:
|
private |
in case request is triggered by
Definition at line 446 of file class.ilFileVersionsGUI.php.
References getTable(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by confirmDeleteVersions(), getDeleteSelectedVersionsModal(), and rollbackVersion().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
bugfix mantis 26007: this function was created to ensure that the access check not only works for repository objects but for workspace objects too
Definition at line 479 of file class.ilFileVersionsGUI.php.
References ILIAS\Repository\access(), and isWorkspaceContext().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 287 of file class.ilFileVersionsGUI.php.
References ilWOPIEmbeddedApplicationGUI\CMD_EDIT, ILIAS\ResourceStorage\Revision\DRAFT, getTable(), ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), and ILIAS\Repository\ui().
Referenced by performCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 680 of file class.ilFileVersionsGUI.php.
References ILIAS\FileDelivery\http().
Referenced by __construct(), getParentIdType(), and hasPermission().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| NoSuchElementException | |
| IllegalStateException |
Definition at line 135 of file class.ilFileVersionsGUI.php.
References addVersion(), confirmDeleteFile(), confirmDeleteVersions(), ILIAS\Repository\ctrl(), downloadVersion(), index(), ilFileVersionFormGUI\MODE_ADD, ilFileVersionFormGUI\MODE_REPLACE, processUnzip(), publish(), renderDeleteSelectedVersionsModal(), rollbackVersion(), saveVersion(), unpublish(), and unzipCurrentRevision().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 249 of file class.ilFileVersionsGUI.php.
References $data, ILIAS\Repository\ctrl(), getFileProcessor(), getFileZipOptionsForm(), ILIAS\FileDelivery\http(), KEY_COPYRIGHT_ID, KEY_COPYRIGHT_OPTION, ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by performCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 226 of file class.ilFileVersionsGUI.php.
References ILIAS\Repository\ctrl(), getIdentification(), and ILIAS\Repository\lng().
Referenced by performCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 495 of file class.ilFileVersionsGUI.php.
References getDeleteSelectedVersionsModal(), and ILIAS\FileDelivery\http().
Referenced by performCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 384 of file class.ilFileVersionsGUI.php.
References $version_id, ILIAS\Repository\ctrl(), ILIAS\ResourceStorage\Revision\DRAFT, getVersionIdsFromRequest(), and ILIAS\Repository\lng().
Referenced by performCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| NoSuchElementException | |
| IllegalStateException |
Definition at line 366 of file class.ilFileVersionsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by performCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilCtrlException |
Definition at line 158 of file class.ilFileVersionsGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by addVersion(), and unzipCurrentRevision().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 235 of file class.ilFileVersionsGUI.php.
References ILIAS\Repository\ctrl(), getIdentification(), and ILIAS\Repository\lng().
Referenced by performCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 216 of file class.ilFileVersionsGUI.php.
References setBackTab(), and ILIAS\Repository\ui().
Referenced by performCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 80 of file class.ilFileVersionsGUI.php.
|
private |
Definition at line 77 of file class.ilFileVersionsGUI.php.
|
protected |
Definition at line 86 of file class.ilFileVersionsGUI.php.
|
private |
Definition at line 78 of file class.ilFileVersionsGUI.php.
|
private |
Definition at line 89 of file class.ilFileVersionsGUI.php.
|
private |
Definition at line 88 of file class.ilFileVersionsGUI.php.
|
private |
Definition at line 84 of file class.ilFileVersionsGUI.php.
|
protected |
Definition at line 83 of file class.ilFileVersionsGUI.php.
Referenced by getLanguage().
|
protected |
Definition at line 94 of file class.ilFileVersionsGUI.php.
|
protected |
Definition at line 92 of file class.ilFileVersionsGUI.php.
Referenced by confirmDeleteFile().
|
private |
Definition at line 82 of file class.ilFileVersionsGUI.php.
|
protected |
Definition at line 93 of file class.ilFileVersionsGUI.php.
Definition at line 76 of file class.ilFileVersionsGUI.php.
|
private |
Definition at line 75 of file class.ilFileVersionsGUI.php.
|
private |
Definition at line 85 of file class.ilFileVersionsGUI.php.
|
private |
Definition at line 74 of file class.ilFileVersionsGUI.php.
|
private |
Definition at line 87 of file class.ilFileVersionsGUI.php.
|
protected |
Definition at line 91 of file class.ilFileVersionsGUI.php.
|
protected |
Definition at line 79 of file class.ilFileVersionsGUI.php.
|
protected |
Definition at line 90 of file class.ilFileVersionsGUI.php.
Referenced by rollbackVersion().
|
private |
Definition at line 81 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_ADD_NEW_VERSION = 'addNewVersion' |
Definition at line 64 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_ADD_REPLACING_VERSION = 'addReplacingVersion' |
Definition at line 66 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_CANCEL_DELETE = "cancelDeleteFile" |
Definition at line 61 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_CONFIRMED_DELETE_FILE = "confirmDeleteFile" |
Definition at line 62 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_CONFIRMED_DELETE_VERSIONS = 'confirmDeleteVersions' |
Definition at line 63 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_CREATE_NEW_VERSION = 'saveVersion' |
Definition at line 65 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionFormGUI\resolveParentCommand().
| const ilFileVersionsGUI::CMD_CREATE_REPLACING_VERSION = 'createReplacingVersion' |
Definition at line 67 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionFormGUI\resolveParentCommand().
| const ilFileVersionsGUI::CMD_DEFAULT = 'index' |
Definition at line 57 of file class.ilFileVersionsGUI.php.
Referenced by ILIAS\File\Versions\Table\Table\initURIBuilder(), and ilObjFileGUI\setTabs().
| const ilFileVersionsGUI::CMD_DOWNLOAD_VERSION = "sendFile" |
Definition at line 59 of file class.ilFileVersionsGUI.php.
Referenced by ILIAS\File\Versions\Table\DataRetrieval\mapRecord().
| const ilFileVersionsGUI::CMD_PROCESS_UNZIP = 'processUnzip' |
Definition at line 69 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_PUBLISH = 'publish' |
Definition at line 71 of file class.ilFileVersionsGUI.php.
Referenced by ILIAS\File\Versions\Table\Table\initActions().
| const ilFileVersionsGUI::CMD_RENDER_DELETE_SELECTED_VERSIONS_MODAL = 'renderDeleteSelectedVersionsModal' |
Definition at line 70 of file class.ilFileVersionsGUI.php.
Referenced by ILIAS\File\Versions\Table\Table\initActions().
| const ilFileVersionsGUI::CMD_ROLLBACK_VERSION = "rollbackVersion" |
Definition at line 58 of file class.ilFileVersionsGUI.php.
Referenced by ILIAS\File\Versions\Table\Table\initActions().
| const ilFileVersionsGUI::CMD_UNPUBLISH = 'unpublish' |
Definition at line 72 of file class.ilFileVersionsGUI.php.
Referenced by ILIAS\File\Versions\Table\Table\initActions().
| const ilFileVersionsGUI::CMD_UNZIP_CURRENT_REVISION = Capabilities::UNZIP->value |
Definition at line 68 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::HIST_ID = 'hist_id' |
Definition at line 60 of file class.ilFileVersionsGUI.php.
Referenced by ILIAS\File\Versions\Table\Table\initURIBuilder(), and ILIAS\File\Versions\Table\DataRetrieval\mapRecord().
| const ilFileVersionsGUI::KEY_COPYRIGHT_ID = "copyright_id" |
Definition at line 55 of file class.ilFileVersionsGUI.php.
Referenced by processUnzip().
| const ilFileVersionsGUI::KEY_COPYRIGHT_OPTION = "copyright_option" |
Definition at line 52 of file class.ilFileVersionsGUI.php.
Referenced by getFileZipOptionsForm(), and processUnzip().
| const ilFileVersionsGUI::KEY_FILE_EXTRACT = 'file_extract' |
Definition at line 50 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_FILE_RID = 'file_rid' |
Definition at line 49 of file class.ilFileVersionsGUI.php.
Referenced by getFileZipOptionsForm().
| const ilFileVersionsGUI::KEY_FILE_STRUCTURE = 'file_structure' |
Definition at line 51 of file class.ilFileVersionsGUI.php.
Referenced by getFileZipOptionsForm().
| const ilFileVersionsGUI::KEY_INHERIT_COPYRIGHT = "inherit_copyright" |
Definition at line 53 of file class.ilFileVersionsGUI.php.
Referenced by getFileZipOptionsForm().
| const ilFileVersionsGUI::KEY_SELECT_COPYRIGHT = "select_copyright" |
Definition at line 54 of file class.ilFileVersionsGUI.php.
Referenced by getFileZipOptionsForm().