| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Collaboration diagram for ilFileVersionsGUI:Public Member Functions | |
| __construct (private ilObjFile $file) | |
| ilFileVersionsGUI constructor.  More... | |
| executeCommand () | |
| getFile () | |
Protected Member Functions | |
| performCommand () | |
| setBackTab () | |
| renderDeleteSelectedVersionsModal () | |
| getDeleteSelectedVersionsModal () | |
| checkSanityOfDeletionRequest (array $requested_deletion_version, bool $redirect) | |
| getUIFactory () | |
| getLanguage () | |
Protected Attributes | |
| ILIAS DI UIServices | $ui | 
| ilLanguage | $lng | 
| ilCtrl | $ctrl | 
| int | $version_id = null | 
| ilTree | $tree | 
| int | $parent_id | 
| Refinery | $refinery | 
Private Member Functions | |
| unzipCurrentRevision () | |
| publish () | |
| unpublish () | |
| processUnzip () | |
| index () | |
| addVersion (int $mode=ilFileVersionFormGUI::MODE_ADD) | |
| saveVersion (int $mode=ilFileVersionFormGUI::MODE_ADD) | |
| downloadVersion () | |
| rollbackVersion () | |
| confirmDeleteVersions () | |
| confirmDeleteFile () | |
| getVersionIdsFromRequest () | |
| getVersionsToKeep (array $version_ids) | |
| 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... | |
| deleteVersions () | |
| getFileZipOptionsForm () | |
| getFileProcessor (bool $keep_structure) | |
| getIdentification () | |
| getCurrentFileRevision () | |
| getParentIdType () | |
| isWorkspaceContext () | |
Definition at line 36 of file class.ilFileVersionsGUI.php.
| ilFileVersionsGUI::__construct | ( | private ilObjFile | $file | ) | 
ilFileVersionsGUI constructor.
Definition at line 89 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 333 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 deleteVersions(), and getDeleteSelectedVersionsModal().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 404 of file class.ilFileVersionsGUI.php.
References 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 391 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 572 of file class.ilFileVersionsGUI.php.
References Vendor\Package\$a, Vendor\Package\$b, $version, ilObject\_getIcon(), checkSanityOfDeletionRequest(), 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 355 of file class.ilFileVersionsGUI.php.
Referenced by performCommand().
 Here is the caller graph for this function:| ilFileVersionsGUI::executeCommand | ( | ) | 
Definition at line 155 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 722 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 509 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 415 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\__construct(), and ilFileVersionFormGUI\__construct().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 686 of file class.ilFileVersionsGUI.php.
References $context, $parent_id, and getParentIdType().
Referenced by processUnzip().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 633 of file class.ilFileVersionsGUI.php.
References ILIAS\UI\Implementation\Component\Input\$inputs, $rights, ilMDCopyrightSelectionEntry\_extractEntryId(), ilMDSettings\_getInstance(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilMDCopyrightSelectionEntry\lookupCopyyrightTitle(), ILIAS\Repository\ui(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by processUnzip(), and unzipCurrentRevision().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 717 of file class.ilFileVersionsGUI.php.
Referenced by getCurrentFileRevision(), publish(), and unpublish().
 Here is the caller graph for this function:
      
  | 
  protected | 
      
  | 
  private | 
Definition at line 732 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:
      
  | 
  protected | 
Definition at line 744 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 420 of file class.ilFileVersionsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by confirmDeleteVersions(), deleteVersions(), getDeleteSelectedVersionsModal(), and rollbackVersion().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 448 of file class.ilFileVersionsGUI.php.
References ILIAS\Repository\int().
 Here is the call 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 475 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 265 of file class.ilFileVersionsGUI.php.
References ilWOPIEmbeddedApplicationGUI\CMD_EDIT, ILIAS\Repository\ctrl(), ILIAS\ResourceStorage\Revision\DRAFT, 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 739 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 | 
Definition at line 122 of file class.ilFileVersionsGUI.php.
References addVersion(), confirmDeleteFile(), confirmDeleteVersions(), ILIAS\Repository\ctrl(), deleteVersions(), 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 227 of file class.ilFileVersionsGUI.php.
References $data, ILIAS\Repository\ctrl(), getFileProcessor(), getFileZipOptionsForm(), ILIAS\FileDelivery\http(), 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 204 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 491 of file class.ilFileVersionsGUI.php.
References getDeleteSelectedVersionsModal(), ILIAS\FileDelivery\http(), 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 363 of file class.ilFileVersionsGUI.php.
References 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 | 
Definition at line 345 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 146 of file class.ilFileVersionsGUI.php.
References ILIAS\Repository\ctrl(), 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 213 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 194 of file class.ilFileVersionsGUI.php.
References getFileZipOptionsForm(), 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 71 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 68 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 77 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 69 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 80 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 79 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 75 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 74 of file class.ilFileVersionsGUI.php.
Referenced by getLanguage().
      
  | 
  protected | 
Definition at line 83 of file class.ilFileVersionsGUI.php.
Referenced by getFileProcessor().
      
  | 
  private | 
Definition at line 73 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 84 of file class.ilFileVersionsGUI.php.
Definition at line 67 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 76 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 66 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 78 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 82 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 70 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 81 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 72 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_ADD_NEW_VERSION = 'addNewVersion' | 
Definition at line 56 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_ADD_REPLACING_VERSION = 'addReplacingVersion' | 
Definition at line 58 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_CANCEL_DELETE = "cancelDeleteFile" | 
Definition at line 53 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_CONFIRMED_DELETE_FILE = "confirmDeleteFile" | 
Definition at line 54 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_CONFIRMED_DELETE_VERSIONS = 'confirmDeleteVersions' | 
Definition at line 55 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_CREATE_NEW_VERSION = 'saveVersion' | 
Definition at line 57 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionFormGUI\resolveParentCommand().
| const ilFileVersionsGUI::CMD_CREATE_REPLACING_VERSION = 'createReplacingVersion' | 
Definition at line 59 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionFormGUI\resolveParentCommand().
| const ilFileVersionsGUI::CMD_DEFAULT = 'index' | 
Definition at line 48 of file class.ilFileVersionsGUI.php.
Referenced by ilObjFileGUI\setTabs().
| const ilFileVersionsGUI::CMD_DELETE_VERSIONS = "deleteVersions" | 
Definition at line 49 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\__construct().
| const ilFileVersionsGUI::CMD_DOWNLOAD_VERSION = "sendFile" | 
Definition at line 51 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\fillRow().
| const ilFileVersionsGUI::CMD_PROCESS_UNZIP = 'processUnzip' | 
Definition at line 61 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_PUBLISH = 'publish' | 
Definition at line 63 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\fillRow().
| const ilFileVersionsGUI::CMD_RENDER_DELETE_SELECTED_VERSIONS_MODAL = 'renderDeleteSelectedVersionsModal' | 
Definition at line 62 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\fillRow().
| const ilFileVersionsGUI::CMD_ROLLBACK_VERSION = "rollbackVersion" | 
Definition at line 50 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\__construct(), and ilFileVersionsTableGUI\fillRow().
| const ilFileVersionsGUI::CMD_UNPUBLISH = 'unpublish' | 
Definition at line 64 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\fillRow().
| const ilFileVersionsGUI::CMD_UNZIP_CURRENT_REVISION = 'unzipCurrentRevision' | 
Definition at line 60 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::HIST_ID = 'hist_id' | 
Definition at line 52 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\fillRow().
| const ilFileVersionsGUI::KEY_COPYRIGHT_ID = "copyright_id" | 
Definition at line 46 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_COPYRIGHT_OPTION = "copyright_option" | 
Definition at line 43 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_FILE_EXTRACT = 'file_extract' | 
Definition at line 41 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_FILE_RID = 'file_rid' | 
Definition at line 40 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_FILE_STRUCTURE = 'file_structure' | 
Definition at line 42 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_INHERIT_COPYRIGHT = "inherit_copyright" | 
Definition at line 44 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_SELECT_COPYRIGHT = "select_copyright" | 
Definition at line 45 of file class.ilFileVersionsGUI.php.