ILIAS  release_8 Revision v8.24
ilUIAsyncDemoFileUploadHandlerGUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilUIAsyncDemoFileUploadHandlerGUI:
+ Collaboration diagram for ilUIAsyncDemoFileUploadHandlerGUI:

Public Member Functions

 getUploadURL ()
 @inheritDoc More...
 
 getExistingFileInfoURL ()
 @inheritDoc More...
 
 getFileRemovalURL ()
 @inheritDoc More...
 
- Public Member Functions inherited from ilUIDemoFileUploadHandlerGUI
 getUploadURL ()
 @inheritDoc More...
 
 getExistingFileInfoURL ()
 @inheritDoc More...
 
 getFileRemovalURL ()
 @inheritDoc More...
 
 getFileIdentifierParameterName ()
 @inheritDoc More...
 
 getInfoResult (string $identifier)
 
 getInfoForExistingFiles (array $file_ids)
 
- Public Member Functions inherited from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler
 __construct ()
 ilUIDemoFileUploadHandlerGUI constructor. More...
 
 getFileIdentifierParameterName ()
 @inheritDoc More...
 
 getUploadURL ()
 @inheritDoc More...
 
 getExistingFileInfoURL ()
 @inheritDoc More...
 
 getFileRemovalURL ()
 @inheritDoc More...
 
 executeCommand ()
 Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented. More...
 
 getInfoResult (string $identifier)
 
 getInfoForExistingFiles (array $file_ids)
 
 supportsChunkedUploads ()
 
 executeCommand ()
 Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented. More...
 
 getFileIdentifierParameterName ()
 
 getUploadURL ()
 
 getFileRemovalURL ()
 
 getExistingFileInfoURL ()
 
 getInfoForExistingFiles (array $file_ids)
 
 getInfoResult (string $identifier)
 
 supportsChunkedUploads ()
 

Additional Inherited Members

- Data Fields inherited from ILIAS\UI\Component\Input\Field\UploadHandler
const DEFAULT_FILE_ID_PARAMETER = 'file_id'
 
- Protected Member Functions inherited from ilUIDemoFileUploadHandlerGUI
 getUploadResult ()
 @inheritDoc More...
 
 getRemoveResult (string $identifier)
 
- Protected Member Functions inherited from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler
 readChunkedInformation ()
 
 getUploadResult ()
 
 getRemoveResult (string $identifier)
 
- Protected Attributes inherited from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler
const CMD_UPLOAD = 'upload'
 
const CMD_REMOVE = 'remove'
 
const CMD_INFO = 'info'
 
HttpServices $http
 
ilCtrl $ctrl
 
FileUpload $upload
 
bool $is_chunked = false
 
int $chunk_index = 0
 
int $amount_of_chunks = 0
 
string $chunk_id = null
 
int $chunk_total_size = 0
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning @ilCtrl_isCalledBy ilUIAsyncDemoFileUploadHandlerGUI: ilUIPluginRouterGUI

Author
Thibeau Fuhrer thibe.nosp@m.au@s.nosp@m.r.sol.nosp@m.utio.nosp@m.ns

Definition at line 26 of file class.ilUIAsyncDemoFileUploadHandlerGUI.php.

Member Function Documentation

◆ getExistingFileInfoURL()

ilUIAsyncDemoFileUploadHandlerGUI::getExistingFileInfoURL ( )

@inheritDoc

Reimplemented from ilUIDemoFileUploadHandlerGUI.

Definition at line 38 of file class.ilUIAsyncDemoFileUploadHandlerGUI.php.

38 : string
39 {
40 return $this->ctrl->getLinkTargetByClass(
41 [ilUIPluginRouterGUI::class, self::class],
42 self::CMD_INFO,
43 null,
44 true
45 );
46 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getFileRemovalURL()

ilUIAsyncDemoFileUploadHandlerGUI::getFileRemovalURL ( )

@inheritDoc

Reimplemented from ilUIDemoFileUploadHandlerGUI.

Definition at line 48 of file class.ilUIAsyncDemoFileUploadHandlerGUI.php.

48 : string
49 {
50 return $this->ctrl->getLinkTargetByClass(
51 [ilUIPluginRouterGUI::class, self::class],
52 self::CMD_REMOVE,
53 null,
54 true
55 );
56 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getUploadURL()

ilUIAsyncDemoFileUploadHandlerGUI::getUploadURL ( )

@inheritDoc

Reimplemented from ilUIDemoFileUploadHandlerGUI.

Definition at line 28 of file class.ilUIAsyncDemoFileUploadHandlerGUI.php.

28 : string
29 {
30 return $this->ctrl->getLinkTargetByClass(
31 [ilUIPluginRouterGUI::class, self::class],
32 self::CMD_UPLOAD,
33 null,
34 true
35 );
36 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: