| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 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 | 
| 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 () | |
| 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 40 of file class.ilFileVersionsGUI.php.
| ilFileVersionsGUI::__construct | ( | private ilObjFile | $file | ) | 
ilFileVersionsGUI constructor.
Definition at line 94 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 339 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 554 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 410 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 397 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 578 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 361 of file class.ilFileVersionsGUI.php.
Referenced by performCommand().
 Here is the caller graph for this function:| ilFileVersionsGUI::executeCommand | ( | ) | 
Definition at line 161 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 732 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 515 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 421 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\__construct(), and ilFileVersionFormGUI\__construct().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 696 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 639 of file class.ilFileVersionsGUI.php.
References ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), 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 727 of file class.ilFileVersionsGUI.php.
Referenced by getCurrentFileRevision(), publish(), and unpublish().
 Here is the caller graph for this function:
      
  | 
  protected | 
      
  | 
  private | 
Definition at line 742 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 754 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 426 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 454 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 481 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 271 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 749 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 128 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 233 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 210 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 497 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 369 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 351 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 152 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 219 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 200 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 75 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 72 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 81 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 73 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 84 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 83 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 79 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 78 of file class.ilFileVersionsGUI.php.
Referenced by getLanguage().
      
  | 
  protected | 
Definition at line 89 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 87 of file class.ilFileVersionsGUI.php.
Referenced by getFileProcessor().
      
  | 
  private | 
Definition at line 77 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 88 of file class.ilFileVersionsGUI.php.
Definition at line 71 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 80 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 70 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 82 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 86 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 74 of file class.ilFileVersionsGUI.php.
      
  | 
  protected | 
Definition at line 85 of file class.ilFileVersionsGUI.php.
      
  | 
  private | 
Definition at line 76 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_ADD_NEW_VERSION = 'addNewVersion' | 
Definition at line 60 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_ADD_REPLACING_VERSION = 'addReplacingVersion' | 
Definition at line 62 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_CANCEL_DELETE = "cancelDeleteFile" | 
Definition at line 57 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_CONFIRMED_DELETE_FILE = "confirmDeleteFile" | 
Definition at line 58 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_CONFIRMED_DELETE_VERSIONS = 'confirmDeleteVersions' | 
Definition at line 59 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_CREATE_NEW_VERSION = 'saveVersion' | 
Definition at line 61 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionFormGUI\resolveParentCommand().
| const ilFileVersionsGUI::CMD_CREATE_REPLACING_VERSION = 'createReplacingVersion' | 
Definition at line 63 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionFormGUI\resolveParentCommand().
| const ilFileVersionsGUI::CMD_DEFAULT = 'index' | 
Definition at line 52 of file class.ilFileVersionsGUI.php.
Referenced by ilObjFileGUI\setTabs().
| const ilFileVersionsGUI::CMD_DELETE_VERSIONS = "deleteVersions" | 
Definition at line 53 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\__construct().
| const ilFileVersionsGUI::CMD_DOWNLOAD_VERSION = "sendFile" | 
Definition at line 55 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\fillRow().
| const ilFileVersionsGUI::CMD_PROCESS_UNZIP = 'processUnzip' | 
Definition at line 65 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::CMD_PUBLISH = 'publish' | 
Definition at line 67 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\fillRow().
| const ilFileVersionsGUI::CMD_RENDER_DELETE_SELECTED_VERSIONS_MODAL = 'renderDeleteSelectedVersionsModal' | 
Definition at line 66 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\fillRow().
| const ilFileVersionsGUI::CMD_ROLLBACK_VERSION = "rollbackVersion" | 
Definition at line 54 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\__construct(), and ilFileVersionsTableGUI\fillRow().
| const ilFileVersionsGUI::CMD_UNPUBLISH = 'unpublish' | 
Definition at line 68 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\fillRow().
| const ilFileVersionsGUI::CMD_UNZIP_CURRENT_REVISION = Capabilities::UNZIP->value | 
Definition at line 64 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::HIST_ID = 'hist_id' | 
Definition at line 56 of file class.ilFileVersionsGUI.php.
Referenced by ilFileVersionsTableGUI\fillRow().
| const ilFileVersionsGUI::KEY_COPYRIGHT_ID = "copyright_id" | 
Definition at line 50 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_COPYRIGHT_OPTION = "copyright_option" | 
Definition at line 47 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_FILE_EXTRACT = 'file_extract' | 
Definition at line 45 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_FILE_RID = 'file_rid' | 
Definition at line 44 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_FILE_STRUCTURE = 'file_structure' | 
Definition at line 46 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_INHERIT_COPYRIGHT = "inherit_copyright" | 
Definition at line 48 of file class.ilFileVersionsGUI.php.
| const ilFileVersionsGUI::KEY_SELECT_COPYRIGHT = "select_copyright" | 
Definition at line 49 of file class.ilFileVersionsGUI.php.