ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilUIAsyncDemoFileUploadHandler.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /* Copyright (c) 2021 Thibeau Fuhrer <thibeau@sr.solutions> Extended GPL, see docs/LICENSE */
6 
11 {
12  public function getUploadURL(): string
13  {
14  return $this->ctrl->getLinkTargetByClass(
15  [ilUIPluginRouterGUI::class, self::class],
16  self::CMD_UPLOAD,
17  null,
18  true
19  );
20  }
21 
22  public function getExistingFileInfoURL(): string
23  {
24  return $this->ctrl->getLinkTargetByClass(
25  [ilUIPluginRouterGUI::class, self::class],
26  self::CMD_INFO,
27  null,
28  true
29  );
30  }
31 
32  public function getFileRemovalURL(): string
33  {
34  return $this->ctrl->getLinkTargetByClass(
35  [ilUIPluginRouterGUI::class, self::class],
36  self::CMD_REMOVE,
37  null,
38  true
39  );
40  }
41 }
Class ilUIDemoFileUploadHandlerGUI.