ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilContainerResourceGUI Class Reference
+ Inheritance diagram for ilContainerResourceGUI:
+ Collaboration diagram for ilContainerResourceGUI:

Public Member Functions

 __construct (private Configuration $view_configuration)
 
 executeCommand ()
 
 upload ()
 
 getFileIdentifierParameterName ()
 
 getUploadURL ()
 
 getFileRemovalURL ()
 
 getExistingFileInfoURL ()
 
 getInfoForExistingFiles (array $file_ids)
 
 getInfoResult (string $identifier)
 
 supportsChunkedUploads ()
 
 getFileIdentifierParameterName ()
 
 getUploadURL ()
 
 getFileRemovalURL ()
 
 getExistingFileInfoURL ()
 
 getInfoForExistingFiles (array $file_ids)
 
 getInfoResult (string $identifier)
 
 supportsChunkedUploads ()
 

Data Fields

const P_PATH = 'path'
 
const P_PATHS = 'paths'
 
const CMD_INDEX = 'index'
 
const CMD_INFO = 'info'
 
const CMD_UPLOAD = 'upload'
 
const CMD_POST_UPLOAD = 'postUpload'
 
const CMD_REMOVE = 'remove'
 
const CMD_DOWNLOAD = 'download'
 
const CMD_DOWNLOAD_ZIP = 'downloadZIP'
 
const CMD_UNZIP = 'unzip'
 
const CMD_RENDER_CONFIRM_REMOVE = 'renderConfirmRemove'
 
const ADD_DIRECTORY = 'addDirectory'
 
- Data Fields inherited from ILIAS\UI\Component\Input\Field\UploadHandler
const DEFAULT_FILE_ID_PARAMETER = 'file_id'
 

Protected Member Functions

 abortWithPermissionDenied ()
 
 getPathsFromRequest ()
 

Private Member Functions

 index ()
 
 downloadZIP ()
 
 addDirectory ()
 
 postUpload ()
 
 download ()
 
 unzip ()
 
 renderConfirmRemove ()
 
 remove ()
 
 getResourceIdsFromRequest ()
 

Private Attributes

ilCtrlInterface $ctrl
 
ilGlobalTemplateInterface $main_tpl
 
Request $view_request
 
ViewFactory $view_factory
 
Renderer $ui_renderer
 
Factory $refinery
 
Services $http
 
ilLanguage $language
 
ILIAS ResourceStorage Services $irss
 
ActionBuilder $action_builder
 
ViewControlBuilder $view_control_builder
 
ILIAS UI Factory $ui_factory
 
FileUpload $upload
 
Archives $archive
 
PreviewDefinition $preview_definition
 
ActionProvider $action_provider
 
StandardActionProvider $standard_action_provider
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilContainerResourceGUI::__construct ( private Configuration  $view_configuration)
final

Definition at line 120 of file class.ilContainerResourceGUI.php.

122 {
123 global $DIC;
124 $this->ctrl = $DIC->ctrl();
125 $this->main_tpl = $DIC->ui()->mainTemplate();
126 $this->ui_renderer = $DIC->ui()->renderer();
127 $this->ui_factory = $DIC->ui()->factory();
128 $this->http = $DIC->http();
129 $this->refinery = $DIC->refinery();
130 $this->language = $DIC->language();
131 $this->language->loadLanguageModule('irss');
132 $this->irss = $DIC->resourceStorage();
133 $this->upload = $DIC->upload();
134
135 $this->view_request = new Request(
136 $DIC->ctrl(),
137 $DIC->http()->wrapper()->query(),
138 $this->view_configuration
139 );
140
141 // to store paramaters needed in GUI
142 $this->view_request->init($this);
143
144 $this->action_provider = new CombinedActionProvider(
145 $this->standard_action_provider = new StandardActionProvider($this->view_request),
146 $this->view_configuration->getActionProvider()
147 );
148
149 $data_provider = new TableDataProvider($this->view_request);
150
151 $this->action_builder = new ActionBuilder(
152 $this->view_request,
153 $this->ctrl,
154 $DIC->ui()->factory(),
155 $DIC->language(),
156 $this->irss,
157 $this->action_provider
158 );
159
161 $this->view_request,
162 $data_provider,
163 $this->ctrl,
164 $DIC->ui()->factory(),
165 $DIC->language()
166 );
167
168 $upload_builder = new UploadBuilder(
169 $this->view_request,
170 $this->ctrl,
171 $DIC->ui()->factory(),
172 $DIC->language(),
173 $this
174 );
175
176 $this->view_factory = new ViewFactory(
177 $data_provider,
178 $this->action_builder,
180 $upload_builder
181 );
182 }
static http()
Fetches the global http state from ILIAS.
global $DIC
Definition: shib_login.php:26

References $DIC, $view_control_builder, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ILIAS\Repository\refinery(), and upload().

+ Here is the call graph for this function:

Member Function Documentation

◆ abortWithPermissionDenied()

ilContainerResourceGUI::abortWithPermissionDenied ( )
protected

Definition at line 186 of file class.ilContainerResourceGUI.php.

186 : void
187 {
188 $this->main_tpl->setOnScreenMessage('failure', $this->language->txt('msg_no_perm_read'), true);
189 $this->ctrl->redirect($this, self::CMD_INDEX);
190 }

References ILIAS\Repository\ctrl(), and ILIAS\UI\examples\Symbol\Glyph\Language\language().

Referenced by addDirectory(), postUpload(), remove(), renderConfirmRemove(), unzip(), and upload().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addDirectory()

ilContainerResourceGUI::addDirectory ( )
private

Definition at line 268 of file class.ilContainerResourceGUI.php.

268 : void
269 {
270 if (!$this->view_request->canUserAdministrate()) {
272 return;
273 }
274 $modal = $this->standard_action_provider->getAddDirectoryModal()->withRequest($this->http->request());
275
276 $directory_name = $modal->getData()[0] ?? '';
277 if (empty($directory_name)) {
278 $this->main_tpl->setOnScreenMessage('failure', $this->language->txt('msg_error_adding_directory'), true);
279 $this->ctrl->redirect($this, self::CMD_INDEX);
280 return;
281 }
282 $directory_name = $this->view_request->getPath() . $directory_name;
283
284 $success = $this->irss->manageContainer()->createDirectoryInsideContainer(
285 $this->view_configuration->getContainer()->getIdentification(),
286 $directory_name
287 );
288
289 if (!$success) {
290 $this->main_tpl->setOnScreenMessage('failure', $this->language->txt('msg_error_adding_directory'), true);
291 $this->ctrl->redirect($this, self::CMD_INDEX);
292 return;
293 }
294
295 $this->main_tpl->setOnScreenMessage('success', $this->language->txt('msg_success_adding_directory'), true);
296 $this->ctrl->redirect($this, self::CMD_INDEX);
297 }

References abortWithPermissionDenied(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\UI\examples\Symbol\Glyph\Language\language().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ download()

ilContainerResourceGUI::download ( )
private

Definition at line 351 of file class.ilContainerResourceGUI.php.

351 : never
352 {
353 $paths = $this->getPathsFromRequest();
354
355 $this->view_request->getWrapper()->download(
356 $paths[0]
357 );
358 }

References getPathsFromRequest().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ downloadZIP()

ilContainerResourceGUI::downloadZIP ( )
private

Definition at line 261 of file class.ilContainerResourceGUI.php.

261 : never
262 {
263 $this->irss->consume()->download(
264 $this->view_configuration->getContainer()->getIdentification()
265 )->overrideFileName($this->view_request->getTitle())->run();
266 }

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ executeCommand()

ilContainerResourceGUI::executeCommand ( )

Definition at line 192 of file class.ilContainerResourceGUI.php.

192 : void
193 {
194 if ($this->view_request->handleViewTitle()) {
195 $title = $this->view_request->getTitle();
196 if ($title !== null) {
197 $this->main_tpl->setTitle($title);
198 }
199 $description = $this->view_request->getDescription();
200 if ($description !== null) {
201 $this->main_tpl->setDescription($description);
202 }
203 }
204
205 switch ($this->ctrl->getCmd(self::CMD_INDEX)) {
206 case self::CMD_INDEX:
207 $this->index();
208 break;
209 case self::CMD_UPLOAD:
210 $this->upload();
211 break;
213 $this->postUpload();
214 break;
215 case self::CMD_REMOVE:
216 $this->remove();
217 break;
219 $this->download();
220 break;
221 case self::CMD_UNZIP:
222 $this->unzip();
223 break;
225 $this->renderConfirmRemove();
226 break;
228 $this->addDirectory();
229 break;
231 $this->downloadZIP();
232 break;
233 }
234 }

References ADD_DIRECTORY, addDirectory(), CMD_DOWNLOAD, CMD_DOWNLOAD_ZIP, CMD_INDEX, CMD_POST_UPLOAD, CMD_REMOVE, CMD_RENDER_CONFIRM_REMOVE, CMD_UNZIP, CMD_UPLOAD, ILIAS\Repository\ctrl(), download(), downloadZIP(), index(), postUpload(), renderConfirmRemove(), unzip(), and upload().

+ Here is the call graph for this function:

◆ getExistingFileInfoURL()

ilContainerResourceGUI::getExistingFileInfoURL ( )
Returns
string of the URL where in GUI existing files are handled. The URL is called by GET with a field with name from getFileIdentifierParameterName() and the FileID of the desired file. Return a FI

Implements ILIAS\UI\Component\Input\Field\UploadHandler.

Definition at line 531 of file class.ilContainerResourceGUI.php.

531 : string
532 {
533 return $this->ctrl->getLinkTarget($this, self::CMD_INFO);
534 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getFileIdentifierParameterName()

ilContainerResourceGUI::getFileIdentifierParameterName ( )
Returns
string defaults to self::DEFAULT_FILE_ID_PARAMETER

Implements ILIAS\UI\Component\Input\Field\UploadHandler.

Definition at line 516 of file class.ilContainerResourceGUI.php.

516 : string
517 {
518 return self::P_PATH;
519 }

References P_PATH.

◆ getFileRemovalURL()

ilContainerResourceGUI::getFileRemovalURL ( )
Returns
string of the URL where in GUI deleted files are handled. The URL is called by POST with a field with name from getFileIdentifierParameterName() and the FileID of the deleted file.

Implements ILIAS\UI\Component\Input\Field\UploadHandler.

Definition at line 526 of file class.ilContainerResourceGUI.php.

526 : string
527 {
528 return '';
529 }

◆ getInfoForExistingFiles()

ilContainerResourceGUI::getInfoForExistingFiles ( array  $file_ids)
Parameters
array$file_ids
Returns
BasicFileInfoResult[]

Implements ILIAS\UI\Component\Input\Field\UploadHandler.

Definition at line 536 of file class.ilContainerResourceGUI.php.

536 : array
537 {
538 return [];
539 }

◆ getInfoResult()

ilContainerResourceGUI::getInfoResult ( string  $identifier)
Returns
null|FileInfoResult for the file with the given identifier or null if the file does not exist.

Implements ILIAS\UI\Component\Input\Field\UploadHandler.

Definition at line 541 of file class.ilContainerResourceGUI.php.

542 {
543 return null;
544 }

◆ getPathsFromRequest()

ilContainerResourceGUI::getPathsFromRequest ( )
protected

Definition at line 360 of file class.ilContainerResourceGUI.php.

360 : array
361 {
362 $unhash = fn(string $path): string => $this->unhash($path);
363 $unhash_array = static fn(array $paths): array => array_map(
364 $unhash,
365 $paths
366 );
367 $to_string = $this->refinery->kindlyTo()->string();
368 $to_array_of_strings = $this->refinery->kindlyTo()->listOf(
369 $to_string
370 );
371
372 // Get item from table
373 $token_name = $this->action_builder->getUrlToken()->getName();
374 if ($this->http->wrapper()->query()->has($token_name)) {
375 return $unhash_array(
376 $this->http->wrapper()->query()->retrieve(
377 $token_name,
378 $to_array_of_strings
379 ) ?? []
380 );
381 }
382
383 if ($this->http->wrapper()->post()->has('interruptive_items')) {
384 return $unhash_array(
385 $this->http->wrapper()->post()->retrieve(
386 'interruptive_items',
387 $to_array_of_strings
388 )
389 );
390 }
391
392 return [];
393 }
$path
Definition: ltiservices.php:30

References $path, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by download(), remove(), renderConfirmRemove(), and unzip().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getResourceIdsFromRequest()

ilContainerResourceGUI::getResourceIdsFromRequest ( )
private
Returns
ResourceIdentification[]

Definition at line 466 of file class.ilContainerResourceGUI.php.

466 : array
467 {
468 $token = $this->action_builder->getUrlToken();
469 $wrapper = $this->http->wrapper();
470 $to_string = $this->refinery->kindlyTo()->string();
471 $to_array_of_string = $this->refinery->to()->listOf($to_string);
472 $rid_string = null;
473
474 if ($wrapper->query()->has($token->getName())) {
475 try {
476 $rid_string = $wrapper->query()->retrieve(
477 $token->getName(),
478 $to_string
479 );
480 $rid_strings = explode(',', (string) $rid_string);
482 $rid_strings = $wrapper->query()->retrieve(
483 $token->getName(),
484 $to_array_of_string
485 );
486 }
487 }
488
489 if ($wrapper->post()->has('interruptive_items')) {
490 $rid_strings = $wrapper->post()->retrieve(
491 'interruptive_items',
492 $to_array_of_string
493 );
494 }
495
496 if ($rid_strings[0] === 'ALL_OBJECTS') {
497 return $this->view_request->getWrapper()->getResourceIdentifications();
498 }
499
500 if ($rid_strings === []) {
501 return [];
502 }
503 $resource_identifications = [];
504 foreach ($rid_strings as $rid_string) {
505 $resource_identification = $this->irss->manage()->find($this->unhash($rid_string));
506 if ($resource_identification === null) {
507 continue;
508 }
509 $resource_identifications[] = $resource_identification;
510 }
511 return $resource_identifications;
512 }
$token
Definition: xapitoken.php:70

References $token, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

◆ getUploadURL()

ilContainerResourceGUI::getUploadURL ( )
Returns
string of the URL where dropped files are sent to. This URL must make sure the upload is handled and a \ILIAS\FileUpload\Handler\HandlerResult is returned as JSON.

Implements ILIAS\UI\Component\Input\Field\UploadHandler.

Definition at line 521 of file class.ilContainerResourceGUI.php.

521 : string
522 {
523 return $this->ctrl->getLinkTarget($this, self::CMD_UPLOAD);
524 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ index()

ilContainerResourceGUI::index ( )
private

Definition at line 238 of file class.ilContainerResourceGUI.php.

238 : void
239 {
240 global $DIC;
241 $components = [];
242
243 // Add components from Actions
244 $components = array_merge(
246 $this->action_provider->getComponents()
247 );
248
249 // Add components from the selected view (currently data-table)
250 foreach ($this->view_factory->getComponentProvider($this->view_request)->getComponents() as $component) {
251 $components[] = $component;
252 }
253
254 $this->main_tpl->setContent(
255 $this->ui_renderer->render(
257 )
258 );
259 }
$components

References $components, and $DIC.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ postUpload()

ilContainerResourceGUI::postUpload ( )
private

Definition at line 336 of file class.ilContainerResourceGUI.php.

336 : void
337 {
338 if (!$this->view_request->canUserUplaod()) {
340 return;
341 }
342 if ($this->http->request()->getParsedBody() === []) { // nothing uploaded
343 $this->main_tpl->setOnScreenMessage('failure', $this->language->txt('rids_appended_failed'), true);
344 } else {
345 $this->main_tpl->setOnScreenMessage('success', $this->language->txt('rids_appended'), true);
346 }
347
348 $this->ctrl->redirect($this, self::CMD_INDEX);
349 }

References abortWithPermissionDenied(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\UI\examples\Symbol\Glyph\Language\language().

Referenced by executeCommand(), and unzip().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ remove()

ilContainerResourceGUI::remove ( )
private

Definition at line 436 of file class.ilContainerResourceGUI.php.

436 : void
437 {
438 if (!$this->view_request->canUserAdministrate()) {
440 return;
441 }
442 $paths = $this->getPathsFromRequest();
443
444 if (empty($paths)) {
445 $this->main_tpl->setOnScreenMessage('failure', $this->language->txt('msg_no_perm_read'), true);
446 $this->ctrl->redirect($this, self::CMD_INDEX);
447 return;
448 }
449
450 foreach ($paths as $path_inside_zip) {
451 $this->irss->manageContainer()->removePathInsideContainer(
452 $this->view_configuration->getContainer()->getIdentification(),
453 $path_inside_zip
454 );
455 }
456
457 $this->main_tpl->setOnScreenMessage('success', $this->language->txt('msg_paths_deleted'), true);
458 $this->ctrl->redirect($this, self::CMD_INDEX);
459 }

References abortWithPermissionDenied(), ILIAS\Repository\ctrl(), getPathsFromRequest(), and ILIAS\UI\examples\Symbol\Glyph\Language\language().

+ Here is the call graph for this function:

◆ renderConfirmRemove()

ilContainerResourceGUI::renderConfirmRemove ( )
private

Definition at line 409 of file class.ilContainerResourceGUI.php.

409 : void
410 {
411 if (!$this->view_request->canUserAdministrate()) {
413 return;
414 }
415 $paths = $this->getPathsFromRequest();
416
417 $stream = Streams::ofString(
418 $this->ui_renderer->render(
419 $this->ui_factory->modal()->interruptive(
420 $this->language->txt('action_remove_zip_path'),
421 $this->language->txt('action_remove_zip_path_msg'),
422 $this->ctrl->getLinkTarget($this, self::CMD_REMOVE)
423 )->withAffectedItems(
424 array_map(fn(string $path_inside_zip): Standard => $this->ui_factory->modal()->interruptiveItem()->standard(
425 $this->hash($path_inside_zip),
426 $path_inside_zip
427 ), $paths)
428 )
429 )
430 );
431 $this->http->saveResponse($this->http->response()->withBody($stream));
432 $this->http->sendResponse();
433 $this->http->close();
434 }

References abortWithPermissionDenied(), getPathsFromRequest(), and ILIAS\FileDelivery\http().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ supportsChunkedUploads()

ilContainerResourceGUI::supportsChunkedUploads ( )
Returns
bool if this uploadhandler chan handle Chunked Uploads. These come in multiple requests and must be combined to a single file. If your UploadHandler can handle Chunked Uploads, you can use a UI\Component\Input\Field\Upload\File with .

Implements ILIAS\UI\Component\Input\Field\UploadHandler.

Definition at line 546 of file class.ilContainerResourceGUI.php.

546 : bool
547 {
548 return false;
549 }

◆ unzip()

ilContainerResourceGUI::unzip ( )
private

Definition at line 395 of file class.ilContainerResourceGUI.php.

395 : void
396 {
397 if (!$this->view_request->canUserAdministrate()) {
399 return;
400 }
401 $paths = $this->getPathsFromRequest()[0];
402 $this->view_request->getWrapper()->unzip(
403 $paths
404 );
405
406 $this->postUpload();
407 }

References abortWithPermissionDenied(), getPathsFromRequest(), and postUpload().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ upload()

ilContainerResourceGUI::upload ( )

Definition at line 299 of file class.ilContainerResourceGUI.php.

299 : void
300 {
301 if (!$this->view_request->canUserUplaod()) {
303 return;
304 }
305 $this->upload->process();
306 if (!$this->upload->hasUploads()) {
307 return;
308 }
309 $container = $this->view_configuration->getContainer();
310
311 foreach ($this->upload->getResults() as $result) {
312 if (!$result->isOK()) {
313 continue;
314 }
315 // store to zip
316 $return = $this->irss->manageContainer()->addUploadToContainer(
317 $container->getIdentification(),
318 $result,
319 $this->view_request->getPath()
320 );
321 }
322
323 // OK
324 $upload_result = new BasicHandlerResult(
325 self::P_PATH,
326 $return ? BasicHandlerResult::STATUS_OK : BasicHandlerResult::STATUS_FAILED,
327 '-',
328 'undefined error'
329 );
330 $response = $this->http->response()->withBody(Streams::ofString(json_encode($upload_result)));
331 $this->http->saveResponse($response);
332 $this->http->sendResponse();
333 $this->http->close();
334 }
$container
@noRector
Definition: wac.php:37
$response
Definition: xapitoken.php:93

References $container, $response, abortWithPermissionDenied(), ILIAS\FileDelivery\http(), and upload().

Referenced by __construct(), executeCommand(), and upload().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $action_builder

ActionBuilder ilContainerResourceGUI::$action_builder
private

Definition at line 111 of file class.ilContainerResourceGUI.php.

◆ $action_provider

ActionProvider ilContainerResourceGUI::$action_provider
private

Definition at line 117 of file class.ilContainerResourceGUI.php.

◆ $archive

Archives ilContainerResourceGUI::$archive
private

Definition at line 115 of file class.ilContainerResourceGUI.php.

◆ $ctrl

ilCtrlInterface ilContainerResourceGUI::$ctrl
private

Definition at line 102 of file class.ilContainerResourceGUI.php.

◆ $http

Services ilContainerResourceGUI::$http
private

Definition at line 108 of file class.ilContainerResourceGUI.php.

◆ $irss

ILIAS ResourceStorage Services ilContainerResourceGUI::$irss
private

Definition at line 110 of file class.ilContainerResourceGUI.php.

◆ $language

ilLanguage ilContainerResourceGUI::$language
private

Definition at line 109 of file class.ilContainerResourceGUI.php.

◆ $main_tpl

ilGlobalTemplateInterface ilContainerResourceGUI::$main_tpl
private

Definition at line 103 of file class.ilContainerResourceGUI.php.

◆ $preview_definition

PreviewDefinition ilContainerResourceGUI::$preview_definition
private

Definition at line 116 of file class.ilContainerResourceGUI.php.

◆ $refinery

Factory ilContainerResourceGUI::$refinery
private

Definition at line 107 of file class.ilContainerResourceGUI.php.

◆ $standard_action_provider

StandardActionProvider ilContainerResourceGUI::$standard_action_provider
private

Definition at line 118 of file class.ilContainerResourceGUI.php.

◆ $ui_factory

ILIAS UI Factory ilContainerResourceGUI::$ui_factory
private

Definition at line 113 of file class.ilContainerResourceGUI.php.

◆ $ui_renderer

Renderer ilContainerResourceGUI::$ui_renderer
private

Definition at line 106 of file class.ilContainerResourceGUI.php.

◆ $upload

FileUpload ilContainerResourceGUI::$upload
private

Definition at line 114 of file class.ilContainerResourceGUI.php.

◆ $view_control_builder

ViewControlBuilder ilContainerResourceGUI::$view_control_builder
private

Definition at line 112 of file class.ilContainerResourceGUI.php.

Referenced by __construct().

◆ $view_factory

ViewFactory ilContainerResourceGUI::$view_factory
private

Definition at line 105 of file class.ilContainerResourceGUI.php.

◆ $view_request

Request ilContainerResourceGUI::$view_request
private

Definition at line 104 of file class.ilContainerResourceGUI.php.

◆ ADD_DIRECTORY

const ilContainerResourceGUI::ADD_DIRECTORY = 'addDirectory'

◆ CMD_DOWNLOAD

const ilContainerResourceGUI::CMD_DOWNLOAD = 'download'

◆ CMD_DOWNLOAD_ZIP

const ilContainerResourceGUI::CMD_DOWNLOAD_ZIP = 'downloadZIP'

◆ CMD_INDEX

◆ CMD_INFO

const ilContainerResourceGUI::CMD_INFO = 'info'

Definition at line 67 of file class.ilContainerResourceGUI.php.

◆ CMD_POST_UPLOAD

const ilContainerResourceGUI::CMD_POST_UPLOAD = 'postUpload'

◆ CMD_REMOVE

const ilContainerResourceGUI::CMD_REMOVE = 'remove'

Definition at line 79 of file class.ilContainerResourceGUI.php.

Referenced by executeCommand().

◆ CMD_RENDER_CONFIRM_REMOVE

const ilContainerResourceGUI::CMD_RENDER_CONFIRM_REMOVE = 'renderConfirmRemove'

◆ CMD_UNZIP

const ilContainerResourceGUI::CMD_UNZIP = 'unzip'

◆ CMD_UPLOAD

const ilContainerResourceGUI::CMD_UPLOAD = 'upload'

Definition at line 71 of file class.ilContainerResourceGUI.php.

Referenced by executeCommand().

◆ P_PATH

const ilContainerResourceGUI::P_PATH = 'path'

◆ P_PATHS

const ilContainerResourceGUI::P_PATHS = 'paths'

Definition at line 58 of file class.ilContainerResourceGUI.php.


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