ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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 ()
 

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
 
ILIAS UI Renderer $ui_renderer
 
ILIAS Refinery Factory $refinery
 
ILIAS HTTP Services $http
 
ilLanguage $language
 
ILIAS ResourceStorage Services $irss
 
ActionBuilder $action_builder
 
ViewControlBuilder $view_control_builder
 
ILIAS UI Factory $ui_factory
 
ILIAS FileUpload FileUpload $upload
 
ILIAS Filesystem Util Archive Archives $archive
 
PreviewDefinition $preview_definition
 
ActionBuilder ActionProvider $action_provider
 
StandardActionProvider $standard_action_provider
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilContainerResourceGUI::__construct ( private Configuration  $view_configuration)
final

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

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

79  {
80  global $DIC;
81  $this->ctrl = $DIC->ctrl();
82  $this->main_tpl = $DIC->ui()->mainTemplate();
83  $this->ui_renderer = $DIC->ui()->renderer();
84  $this->ui_factory = $DIC->ui()->factory();
85  $this->http = $DIC->http();
86  $this->refinery = $DIC->refinery();
87  $this->language = $DIC->language();
88  $this->language->loadLanguageModule('irss');
89  $this->irss = $DIC->resourceStorage();
90  $this->upload = $DIC->upload();
91 
92  $this->view_request = new Request(
93  $DIC->ctrl(),
94  $DIC->http()->wrapper()->query(),
95  $this->view_configuration
96  );
97 
98  // to store paramaters needed in GUI
99  $this->view_request->init($this);
100 
101  $this->action_provider = new CombinedActionProvider(
102  $this->standard_action_provider = new StandardActionProvider($this->view_request),
103  $this->view_configuration->getActionProvider()
104  );
105 
106  $data_provider = new TableDataProvider($this->view_request);
107 
108  $this->action_builder = new ActionBuilder(
109  $this->view_request,
110  $this->ctrl,
111  $DIC->ui()->factory(),
112  $DIC->language(),
113  $this->irss,
115  );
116 
118  $this->view_request,
119  $data_provider,
120  $this->ctrl,
121  $DIC->ui()->factory(),
122  $DIC->language()
123  );
124 
125  $upload_builder = new UploadBuilder(
126  $this->view_request,
127  $this->ctrl,
128  $DIC->ui()->factory(),
129  $DIC->language(),
130  $this
131  );
132 
133  $this->view_factory = new ViewFactory(
134  $data_provider,
135  $this->action_builder,
136  $view_control_builder,
137  $upload_builder
138  );
139  }
ILIAS ResourceStorage Services $irss
ActionBuilder ActionProvider $action_provider
static http()
Fetches the global http state from ILIAS.
global $DIC
Definition: shib_login.php:25
language()
description: > Example for rendring a language glyph.
Definition: language.php:25
+ Here is the call graph for this function:

Member Function Documentation

◆ abortWithPermissionDenied()

ilContainerResourceGUI::abortWithPermissionDenied ( )
protected

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

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

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

143  : void
144  {
145  $this->main_tpl->setOnScreenMessage('failure', $this->language->txt('msg_no_perm_read'), true);
146  $this->ctrl->redirect($this, self::CMD_INDEX);
147  }
language()
description: > Example for rendring a language glyph.
Definition: language.php:25
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addDirectory()

ilContainerResourceGUI::addDirectory ( )
private

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

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

Referenced by executeCommand().

225  : void
226  {
227  if (!$this->view_request->canUserAdministrate()) {
228  $this->abortWithPermissionDenied();
229  return;
230  }
231  $modal = $this->standard_action_provider->getAddDirectoryModal()->withRequest($this->http->request());
232 
233  $directory_name = $modal->getData()[0] ?? '';
234  if (empty($directory_name)) {
235  $this->main_tpl->setOnScreenMessage('failure', $this->language->txt('msg_error_adding_directory'), true);
236  $this->ctrl->redirect($this, self::CMD_INDEX);
237  return;
238  }
239  $directory_name = $this->view_request->getPath() . $directory_name;
240 
241  $success = $this->irss->manageContainer()->createDirectoryInsideContainer(
242  $this->view_configuration->getContainer()->getIdentification(),
243  $directory_name
244  );
245 
246  if (!$success) {
247  $this->main_tpl->setOnScreenMessage('failure', $this->language->txt('msg_error_adding_directory'), true);
248  $this->ctrl->redirect($this, self::CMD_INDEX);
249  return;
250  }
251 
252  $this->main_tpl->setOnScreenMessage('success', $this->language->txt('msg_success_adding_directory'), true);
253  $this->ctrl->redirect($this, self::CMD_INDEX);
254  }
static http()
Fetches the global http state from ILIAS.
language()
description: > Example for rendring a language glyph.
Definition: language.php:25
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ download()

ilContainerResourceGUI::download ( )
private

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

References getPathsFromRequest().

Referenced by executeCommand().

308  : void
309  {
310  $paths = $this->getPathsFromRequest();
311 
312  $this->view_request->getWrapper()->download(
313  $paths[0],
314  $this->view_request->getPath()
315  );
316  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ downloadZIP()

ilContainerResourceGUI::downloadZIP ( )
private

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

Referenced by executeCommand().

218  : never
219  {
220  $this->irss->consume()->download(
221  $this->view_configuration->getContainer()->getIdentification()
222  )->overrideFileName($this->view_request->getTitle())->run();
223  }
+ Here is the caller graph for this function:

◆ executeCommand()

ilContainerResourceGUI::executeCommand ( )

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

References addDirectory(), ILIAS\Repository\ctrl(), download(), downloadZIP(), index(), postUpload(), renderConfirmRemove(), unzip(), and upload().

149  : void
150  {
151  if ($this->view_request->handleViewTitle()) {
152  $title = $this->view_request->getTitle();
153  if ($title !== null) {
154  $this->main_tpl->setTitle($title);
155  }
156  $description = $this->view_request->getDescription();
157  if ($description !== null) {
158  $this->main_tpl->setDescription($description);
159  }
160  }
161 
162  switch ($this->ctrl->getCmd(self::CMD_INDEX)) {
163  case self::CMD_INDEX:
164  $this->index();
165  break;
166  case self::CMD_UPLOAD:
167  $this->upload();
168  break;
169  case self::CMD_POST_UPLOAD:
170  $this->postUpload();
171  break;
172  case self::CMD_REMOVE:
173  $this->remove();
174  break;
175  case self::CMD_DOWNLOAD:
176  $this->download();
177  break;
178  case self::CMD_UNZIP:
179  $this->unzip();
180  break;
181  case self::CMD_RENDER_CONFIRM_REMOVE:
182  $this->renderConfirmRemove();
183  break;
184  case self::ADD_DIRECTORY:
185  $this->addDirectory();
186  break;
187  case self::CMD_DOWNLOAD_ZIP:
188  $this->downloadZIP();
189  break;
190  }
191  }
+ 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 491 of file class.ilContainerResourceGUI.php.

References ILIAS\Repository\ctrl().

491  : string
492  {
493  return $this->ctrl->getLinkTarget($this, self::CMD_INFO);
494  }
+ 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 476 of file class.ilContainerResourceGUI.php.

476  : string
477  {
478  return self::P_PATH;
479  }

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

486  : string
487  {
488  return '';
489  }

◆ getInfoForExistingFiles()

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

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

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

496  : array
497  {
498  return [];
499  }

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

501  : ?FileInfoResult
502  {
503  return null;
504  }

◆ getPathsFromRequest()

ilContainerResourceGUI::getPathsFromRequest ( )
protected

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

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

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

318  : array
319  {
320  $unhash = fn(string $path) => $this->unhash($path);
321  $unhash_array = static fn(array $paths) => array_map(
322  $unhash,
323  $paths
324  );
325  $to_string = $this->refinery->kindlyTo()->string();
326  $to_array_of_strings = $this->refinery->kindlyTo()->listOf(
327  $to_string
328  );
329 
330  // Get item from table
331  $token_name = $this->action_builder->getUrlToken()->getName();
332  if ($this->http->wrapper()->query()->has($token_name)) {
333  return $unhash_array(
334  $this->http->wrapper()->query()->retrieve(
335  $token_name,
336  $to_array_of_strings
337  ) ?? []
338  );
339  }
340 
341  if ($this->http->wrapper()->post()->has('interruptive_items')) {
342  return $unhash_array(
343  $this->http->wrapper()->post()->retrieve(
344  'interruptive_items',
345  $to_array_of_strings
346  )
347  );
348  }
349 
350  return [];
351  }
$path
Definition: ltiservices.php:30
static http()
Fetches the global http state from ILIAS.
+ 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 426 of file class.ilContainerResourceGUI.php.

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

426  : array
427  {
428  $token = $this->action_builder->getUrlToken();
429  $wrapper = $this->http->wrapper();
430  $to_string = $this->refinery->kindlyTo()->string();
431  $to_array_of_string = $this->refinery->to()->listOf($to_string);
432  $rid_string = null;
433 
434  if ($wrapper->query()->has($token->getName())) {
435  try {
436  $rid_string = $wrapper->query()->retrieve(
437  $token->getName(),
438  $to_string
439  );
440  $rid_strings = explode(',', $rid_string);
441  } catch (ConstraintViolationException $e) {
442  $rid_strings = $wrapper->query()->retrieve(
443  $token->getName(),
444  $to_array_of_string
445  );
446  }
447  }
448 
449  if ($wrapper->post()->has('interruptive_items')) {
450  $rid_strings = $wrapper->post()->retrieve(
451  'interruptive_items',
452  $to_array_of_string
453  );
454  }
455 
456  if ($rid_strings[0] === 'ALL_OBJECTS') {
457  return $this->view_request->getWrapper()->getResourceIdentifications();
458  }
459 
460  if ($rid_strings === []) {
461  return [];
462  }
463  $resource_identifications = [];
464  foreach ($rid_strings as $rid_string) {
465  $resource_identification = $this->irss->manage()->find($this->unhash($rid_string));
466  if ($resource_identification === null) {
467  continue;
468  }
469  $resource_identifications[] = $resource_identification;
470  }
471  return $resource_identifications;
472  }
static http()
Fetches the global http state from ILIAS.
$token
Definition: xapitoken.php:67
+ 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 is returned as JSON.

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

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

References ILIAS\Repository\ctrl().

481  : string
482  {
483  return $this->ctrl->getLinkTarget($this, self::CMD_UPLOAD);
484  }
+ Here is the call graph for this function:

◆ index()

ilContainerResourceGUI::index ( )
private

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

References $components, and $DIC.

Referenced by executeCommand().

195  : void
196  {
197  global $DIC;
198  $components = [];
199 
200  // Add components from Actions
201  $components = array_merge(
202  $components,
203  $this->action_provider->getComponents()
204  );
205 
206  // Add components from the selected view (currently data-table)
207  foreach ($this->view_factory->getComponentProvider($this->view_request)->getComponents() as $component) {
208  $components[] = $component;
209  }
210 
211  $this->main_tpl->setContent(
212  $this->ui_renderer->render(
214  )
215  );
216  }
$components
global $DIC
Definition: shib_login.php:25
+ Here is the caller graph for this function:

◆ postUpload()

ilContainerResourceGUI::postUpload ( )
private

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

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

Referenced by executeCommand(), and unzip().

293  : void
294  {
295  if (!$this->view_request->canUserUplaod()) {
296  $this->abortWithPermissionDenied();
297  return;
298  }
299  if ($this->http->request()->getParsedBody() === []) { // nothing uploaded
300  $this->main_tpl->setOnScreenMessage('failure', $this->language->txt('rids_appended_failed'), true);
301  } else {
302  $this->main_tpl->setOnScreenMessage('success', $this->language->txt('rids_appended'), true);
303  }
304 
305  $this->ctrl->redirect($this, self::CMD_INDEX);
306  }
static http()
Fetches the global http state from ILIAS.
language()
description: > Example for rendring a language glyph.
Definition: language.php:25
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ remove()

ilContainerResourceGUI::remove ( )
private

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

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

396  : void
397  {
398  if (!$this->view_request->canUserAdministrate()) {
399  $this->abortWithPermissionDenied();
400  return;
401  }
402  $paths = $this->getPathsFromRequest();
403 
404  if (empty($paths)) {
405  $this->main_tpl->setOnScreenMessage('failure', $this->language->txt('msg_no_perm_read'), true);
406  $this->ctrl->redirect($this, self::CMD_INDEX);
407  return;
408  }
409 
410  foreach ($paths as $path_inside_zip) {
411  $this->irss->manageContainer()->removePathInsideContainer(
412  $this->view_configuration->getContainer()->getIdentification(),
413  $path_inside_zip
414  );
415  }
416 
417  $this->main_tpl->setOnScreenMessage('success', $this->language->txt('msg_paths_deleted'), true);
418  $this->ctrl->redirect($this, self::CMD_INDEX);
419  }
language()
description: > Example for rendring a language glyph.
Definition: language.php:25
+ Here is the call graph for this function:

◆ renderConfirmRemove()

ilContainerResourceGUI::renderConfirmRemove ( )
private

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

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

Referenced by executeCommand().

367  : void
368  {
369  if (!$this->view_request->canUserAdministrate()) {
370  $this->abortWithPermissionDenied();
371  return;
372  }
373  $paths = $this->getPathsFromRequest();
374 
375  $stream = Streams::ofString(
376  $this->ui_renderer->render(
377  $this->ui_factory->modal()->interruptive(
378  $this->language->txt('action_remove_zip_path'),
379  $this->language->txt('action_remove_zip_path_msg'),
380  $this->ctrl->getLinkTarget($this, self::CMD_REMOVE)
381  )->withAffectedItems(
382  array_map(function (string $path_inside_zip) {
383  return $this->ui_factory->modal()->interruptiveItem()->standard(
384  $this->hash($path_inside_zip),
385  $path_inside_zip
386  );
387  }, $paths)
388  )
389  )
390  );
391  $this->http->saveResponse($this->http->response()->withBody($stream));
392  $this->http->sendResponse();
393  $this->http->close();
394  }
static http()
Fetches the global http state from ILIAS.
language()
description: > Example for rendring a language glyph.
Definition: language.php:25
+ 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 with .

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

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

506  : bool
507  {
508  return false;
509  }

◆ unzip()

ilContainerResourceGUI::unzip ( )
private

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

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

Referenced by executeCommand().

353  : void
354  {
355  if (!$this->view_request->canUserAdministrate()) {
356  $this->abortWithPermissionDenied();
357  return;
358  }
359  $paths = $this->getPathsFromRequest()[0];
360  $this->view_request->getWrapper()->unzip(
361  $paths
362  );
363 
364  $this->postUpload();
365  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ upload()

ilContainerResourceGUI::upload ( )

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

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

Referenced by __construct(), and executeCommand().

256  : void
257  {
258  if (!$this->view_request->canUserUplaod()) {
259  $this->abortWithPermissionDenied();
260  return;
261  }
262  $this->upload->process();
263  if (!$this->upload->hasUploads()) {
264  return;
265  }
266  $container = $this->view_configuration->getContainer();
267 
268  foreach ($this->upload->getResults() as $result) {
269  if (!$result->isOK()) {
270  continue;
271  }
272  // store to zip
273  $return = $this->irss->manageContainer()->addUploadToContainer(
274  $container->getIdentification(),
275  $result,
276  $this->view_request->getPath()
277  );
278  }
279 
280  // OK
281  $upload_result = new BasicHandlerResult(
282  self::P_PATH,
283  $return ? BasicHandlerResult::STATUS_OK : BasicHandlerResult::STATUS_FAILED,
284  '-',
285  'undefined error'
286  );
287  $response = $this->http->response()->withBody(Streams::ofString(json_encode($upload_result)));
288  $this->http->saveResponse($response);
289  $this->http->sendResponse();
290  $this->http->close();
291  }
$response
Definition: xapitoken.php:90
$container
Definition: wac.php:13
static http()
Fetches the global http state from ILIAS.
+ 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 68 of file class.ilContainerResourceGUI.php.

◆ $action_provider

ActionBuilder ActionProvider ilContainerResourceGUI::$action_provider
private

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

Referenced by __construct().

◆ $archive

ILIAS Filesystem Util Archive Archives ilContainerResourceGUI::$archive
private

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

◆ $ctrl

ilCtrlInterface ilContainerResourceGUI::$ctrl
private

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

◆ $http

ILIAS HTTP Services ilContainerResourceGUI::$http
private

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

◆ $irss

ILIAS ResourceStorage Services ilContainerResourceGUI::$irss
private

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

Referenced by __construct().

◆ $language

ilLanguage ilContainerResourceGUI::$language
private

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

◆ $main_tpl

ilGlobalTemplateInterface ilContainerResourceGUI::$main_tpl
private

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

◆ $preview_definition

PreviewDefinition ilContainerResourceGUI::$preview_definition
private

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

◆ $refinery

ILIAS Refinery Factory ilContainerResourceGUI::$refinery
private

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

◆ $standard_action_provider

StandardActionProvider ilContainerResourceGUI::$standard_action_provider
private

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

◆ $ui_factory

ILIAS UI Factory ilContainerResourceGUI::$ui_factory
private

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

◆ $ui_renderer

ILIAS UI Renderer ilContainerResourceGUI::$ui_renderer
private

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

◆ $upload

ILIAS FileUpload FileUpload ilContainerResourceGUI::$upload
private

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

◆ $view_control_builder

ViewControlBuilder ilContainerResourceGUI::$view_control_builder
private

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

◆ $view_factory

ViewFactory ilContainerResourceGUI::$view_factory
private

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

◆ $view_request

Request ilContainerResourceGUI::$view_request
private

Definition at line 61 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 48 of file class.ilContainerResourceGUI.php.

◆ CMD_POST_UPLOAD

const ilContainerResourceGUI::CMD_POST_UPLOAD = 'postUpload'

◆ CMD_REMOVE

const ilContainerResourceGUI::CMD_REMOVE = 'remove'

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

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

◆ P_PATH

const ilContainerResourceGUI::P_PATH = 'path'

◆ P_PATHS

const ilContainerResourceGUI::P_PATHS = 'paths'

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


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