ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
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'
 

Private Member Functions

 abortWithPermissionDenied ()
 
 index ()
 
 downloadZIP ()
 
 addDirectory ()
 
 postUpload ()
 
 download ()
 
 getPathsFromRequest ()
 
 unzip ()
 
 renderConfirmRemove ()
 
 remove ()
 
 storeUploads ()
 Adds every file of the request to the container. More...
 
 storeChunk ()
 The container derives the name of an entry from the name of the file, so the reassembled file is handed over as the only file of its directory. More...
 
 ok ()
 
 sendHandlerResult (BasicHandlerResult $result)
 

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 122 of file class.ilContainerResourceGUI.php.

124 {
125 global $DIC;
126 $this->ctrl = $DIC->ctrl();
127 $this->main_tpl = $DIC->ui()->mainTemplate();
128 $this->ui_renderer = $DIC->ui()->renderer();
129 $this->ui_factory = $DIC->ui()->factory();
130 $this->http = $DIC->http();
131 $this->refinery = $DIC->refinery();
132 $this->language = $DIC->language();
133 $this->language->loadLanguageModule('irss');
134 $this->irss = $DIC->resourceStorage();
135 $this->upload = $DIC->upload();
137
138 $this->view_request = new Request(
139 $DIC->ctrl(),
140 $DIC->http()->wrapper()->query(),
141 $this->view_configuration
142 );
143
144 // to store paramaters needed in GUI
145 $this->view_request->init($this);
146
147 $this->action_provider = new CombinedActionProvider(
148 $this->standard_action_provider = new StandardActionProvider($this->view_request),
149 $this->view_configuration->getActionProvider()
150 );
151
152 $data_provider = new TableDataProvider($this->view_request);
153
154 $this->action_builder = new ActionBuilder(
155 $this->view_request,
156 $this->ctrl,
157 $DIC->ui()->factory(),
158 $DIC->language(),
159 $this->irss,
160 $this->action_provider
161 );
162
164 $this->view_request,
165 $data_provider,
166 $this->ctrl,
167 $DIC->ui()->factory(),
168 $DIC->language()
169 );
170
171 $upload_builder = new UploadBuilder(
172 $this->view_request,
173 $this->ctrl,
174 $DIC->ui()->factory(),
175 $DIC->language(),
176 $this
177 );
178
179 $this->view_factory = new ViewFactory(
180 $data_provider,
181 $this->action_builder,
183 $upload_builder
184 );
185 }
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\components\ResourceStorage\initChunkedUploadBuffer(), 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 ( )
private

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

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

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 269 of file class.ilContainerResourceGUI.php.

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

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 332 of file class.ilContainerResourceGUI.php.

332 : never
333 {
334 $paths = $this->getPathsFromRequest();
335
336 $this->view_request->getWrapper()->download(
337 $paths[0]
338 );
339 }

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 262 of file class.ilContainerResourceGUI.php.

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

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ executeCommand()

ilContainerResourceGUI::executeCommand ( )

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

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

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 537 of file class.ilContainerResourceGUI.php.

537 : string
538 {
539 return $this->ctrl->getLinkTarget($this, self::CMD_INFO);
540 }

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 522 of file class.ilContainerResourceGUI.php.

522 : string
523 {
524 return self::P_PATH;
525 }

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 532 of file class.ilContainerResourceGUI.php.

532 : string
533 {
534 return '';
535 }

◆ getInfoForExistingFiles()

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

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

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

542 : array
543 {
544 return [];
545 }

◆ 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 547 of file class.ilContainerResourceGUI.php.

548 {
549 return null;
550 }

◆ getPathsFromRequest()

ilContainerResourceGUI::getPathsFromRequest ( )
private

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

341 : array
342 {
343 $unhash = fn(string $path): string => $this->unhash($path);
344 $unhash_array = static fn(array $paths): array => array_map(
345 $unhash,
346 $paths
347 );
348 $to_string = $this->refinery->kindlyTo()->string();
349 $to_array_of_strings = $this->refinery->kindlyTo()->listOf(
350 $to_string
351 );
352
353 // Get item from table
354 $token_name = $this->action_builder->getUrlToken()->getName();
355 if ($this->http->wrapper()->query()->has($token_name)) {
356 return $unhash_array(
357 $this->http->wrapper()->query()->retrieve(
358 $token_name,
359 $to_array_of_strings
360 ) ?? []
361 );
362 }
363
364 if ($this->http->wrapper()->post()->has('interruptive_items')) {
365 return $unhash_array(
366 $this->http->wrapper()->post()->retrieve(
367 'interruptive_items',
368 $to_array_of_strings
369 )
370 );
371 }
372
373 return [];
374 }

References 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:

◆ 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 527 of file class.ilContainerResourceGUI.php.

527 : string
528 {
529 return $this->ctrl->getLinkTarget($this, self::CMD_UPLOAD);
530 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ index()

ilContainerResourceGUI::index ( )
private

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

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

References $components, and $DIC.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ ok()

ilContainerResourceGUI::ok ( )
private

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

508 {
509 return new BasicHandlerResult(self::P_PATH, BasicHandlerResult::STATUS_OK, '-', 'file upload OK');
510 }

Referenced by storeUploads().

+ Here is the caller graph for this function:

◆ postUpload()

ilContainerResourceGUI::postUpload ( )
private

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

317 : void
318 {
319 if (!$this->view_request->canUserUplaod()) {
321 return;
322 }
323 if ($this->http->request()->getParsedBody() === []) { // nothing uploaded
324 $this->main_tpl->setOnScreenMessage('failure', $this->language->txt('rids_appended_failed'), true);
325 } else {
326 $this->main_tpl->setOnScreenMessage('success', $this->language->txt('rids_appended'), true);
327 }
328
329 $this->ctrl->redirect($this, self::CMD_INDEX);
330 }

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:

◆ remove()

ilContainerResourceGUI::remove ( )
private

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

424 : void
425 {
426 if (!$this->view_request->canUserAdministrate()) {
428 return;
429 }
430 $paths = $this->getPathsFromRequest();
431
432 if (empty($paths)) {
433 $this->main_tpl->setOnScreenMessage('failure', $this->language->txt('msg_no_perm_read'), true);
434 $this->ctrl->redirect($this, self::CMD_INDEX);
435 return;
436 }
437
438 foreach ($paths as $path_inside_zip) {
439 $this->irss->manageContainer()->removePathInsideContainer(
440 $this->view_configuration->getContainer()->getIdentification(),
441 $path_inside_zip
442 );
443 }
444
445 $this->main_tpl->setOnScreenMessage('success', $this->language->txt('msg_paths_deleted'), true);
446 $this->ctrl->redirect($this, self::CMD_INDEX);
447 }

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 397 of file class.ilContainerResourceGUI.php.

397 : void
398 {
399 if (!$this->view_request->canUserAdministrate()) {
401 return;
402 }
403 $paths = $this->getPathsFromRequest();
404
405 $stream = Streams::ofString(
406 $this->ui_renderer->render(
407 $this->ui_factory->modal()->interruptive(
408 $this->language->txt('action_remove_zip_path'),
409 $this->language->txt('action_remove_zip_path_msg'),
410 $this->ctrl->getLinkTarget($this, self::CMD_REMOVE)
411 )->withAffectedItems(
412 array_map(fn(string $path_inside_zip): Standard => $this->ui_factory->modal()->interruptiveItem()->standard(
413 $this->hash($path_inside_zip),
414 $path_inside_zip
415 ), $paths)
416 )
417 )
418 );
419 $this->http->saveResponse($this->http->response()->withBody($stream));
420 $this->http->sendResponse();
421 $this->http->close();
422 }

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:

◆ sendHandlerResult()

ilContainerResourceGUI::sendHandlerResult ( BasicHandlerResult  $result)
private

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

512 : never
513 {
514 $response = $this->http->response()->withBody(Streams::ofString(json_encode($result)));
515 $this->http->saveResponse($response);
516 $this->http->sendResponse();
517 $this->http->close();
518 }
$response
Definition: xapitoken.php:92

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

Referenced by upload().

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

◆ storeChunk()

ilContainerResourceGUI::storeChunk ( )
private

The container derives the name of an entry from the name of the file, so the reassembled file is handed over as the only file of its directory.

Adding that directory reaches ZipArchive::addFile(), which reads the file lazily - unlike addStreamToContainer(), which would pull the whole file into memory.

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

492 {
493 return $this->assembleChunk(
494 $this->upload->getResults(),
495 function (string $assembled_path): ?string {
496 $added = $this->irss->manageContainer()->addDirectoryToContainer(
497 $this->view_configuration->getContainer()->getIdentification(),
498 dirname($assembled_path),
499 $this->view_request->getPath()
500 );
501
502 return $added ? '-' : null;
503 }
504 );
505 }
assembleChunk(array $upload_results, callable $store)
Buffers the chunk of the current request and, once it was the last one, hands the reassembled file to...

References ILIAS\components\ResourceStorage\assembleChunk(), and upload().

Referenced by upload().

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

◆ storeUploads()

ilContainerResourceGUI::storeUploads ( )
private

Adds every file of the request to the container.

A request can carry more than one file, therefore every result has to be taken into account: reporting the outcome of the last one would hide files rejected by a pre-processor from the user.

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

459 {
460 $container = $this->view_configuration->getContainer();
461 $results = $this->upload->getResults();
462 $stored_all = $results !== [];
463 $message = '';
464
465 foreach ($results as $result) {
466 if (!$result->isOK()) {
467 $stored_all = false;
468 $message = $result->getStatus()->getMessage();
469 continue;
470 }
471 // store to zip
472 if (!$this->irss->manageContainer()->addUploadToContainer(
473 $container->getIdentification(),
474 $result,
475 $this->view_request->getPath()
476 )) {
477 $stored_all = false;
478 }
479 }
480
481 return $stored_all ? $this->ok() : $this->failedResult($message);
482 }
$results
$container
@noRector
Definition: wac.php:39

References $container, $message, $results, ILIAS\components\ResourceStorage\failedResult(), ok(), and upload().

Referenced by upload().

+ 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 552 of file class.ilContainerResourceGUI.php.

552 : bool
553 {
554 return true;
555 }

◆ unzip()

ilContainerResourceGUI::unzip ( )
private

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

376 : void
377 {
378 if (!$this->view_request->canUserAdministrate()) {
380 return;
381 }
382 $paths = $this->getPathsFromRequest();
383
384 // the message has to reflect what unzip() actually did, a hardcoded one
385 // reports a success even when nothing was added to the container
386 $success = $paths !== [] && $this->view_request->getWrapper()->unzip($paths[0]);
387
388 $this->main_tpl->setOnScreenMessage(
389 $success ? 'success' : 'failure',
390 $this->language->txt($success ? 'rids_appended' : 'rids_appended_failed'),
391 true
392 );
393
394 $this->ctrl->redirect($this, self::CMD_INDEX);
395 }

References abortWithPermissionDenied(), ILIAS\Repository\ctrl(), getPathsFromRequest(), 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:

◆ upload()

ilContainerResourceGUI::upload ( )

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

300 : void
301 {
302 if (!$this->view_request->canUserUplaod()) {
304 return;
305 }
306 $this->readChunkInformation();
307 $this->upload->process();
308 if (!$this->upload->hasUploads()) {
309 return;
310 }
311
312 $this->sendHandlerResult(
313 $this->isChunkedUpload() ? $this->storeChunk() : $this->storeUploads()
314 );
315 }
storeUploads()
Adds every file of the request to the container.
storeChunk()
The container derives the name of an entry from the name of the file, so the reassembled file is hand...
sendHandlerResult(BasicHandlerResult $result)
readChunkInformation()
The dropzone announces a chunked upload with these fields in the body of every single chunk request.

References abortWithPermissionDenied(), ILIAS\components\ResourceStorage\isChunkedUpload(), ILIAS\components\ResourceStorage\readChunkInformation(), sendHandlerResult(), storeChunk(), storeUploads(), and upload().

Referenced by __construct(), executeCommand(), storeChunk(), storeUploads(), 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 113 of file class.ilContainerResourceGUI.php.

◆ $action_provider

ActionProvider ilContainerResourceGUI::$action_provider
private

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

◆ $archive

Archives ilContainerResourceGUI::$archive
private

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

◆ $ctrl

ilCtrlInterface ilContainerResourceGUI::$ctrl
private

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

◆ $http

Services ilContainerResourceGUI::$http
private

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

◆ $irss

ILIAS ResourceStorage Services ilContainerResourceGUI::$irss
private

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

◆ $language

ilLanguage ilContainerResourceGUI::$language
private

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

◆ $main_tpl

ilGlobalTemplateInterface ilContainerResourceGUI::$main_tpl
private

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

◆ $preview_definition

PreviewDefinition ilContainerResourceGUI::$preview_definition
private

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

◆ $refinery

Factory ilContainerResourceGUI::$refinery
private

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

◆ $standard_action_provider

StandardActionProvider ilContainerResourceGUI::$standard_action_provider
private

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

◆ $ui_factory

ILIAS UI Factory ilContainerResourceGUI::$ui_factory
private

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

◆ $ui_renderer

Renderer ilContainerResourceGUI::$ui_renderer
private

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

◆ $upload

FileUpload ilContainerResourceGUI::$upload
private

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

◆ $view_control_builder

ViewControlBuilder ilContainerResourceGUI::$view_control_builder
private

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

Referenced by __construct().

◆ $view_factory

ViewFactory ilContainerResourceGUI::$view_factory
private

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

◆ $view_request

Request ilContainerResourceGUI::$view_request
private

Definition at line 106 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 81 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: