◆ getExportOptionId()
ilHTLMExportOptionHTML::getExportOptionId |
( |
| ) |
|
◆ getExportType()
ilHTLMExportOptionHTML::getExportType |
( |
| ) |
|
◆ getLabel()
ilHTLMExportOptionHTML::getLabel |
( |
| ) |
|
◆ getSupportedRepositoryObjectTypes()
ilHTLMExportOptionHTML::getSupportedRepositoryObjectTypes |
( |
| ) |
|
◆ init()
ilHTLMExportOptionHTML::init |
( |
Container |
$DIC | ) |
|
◆ onExportOptionSelected()
ilHTLMExportOptionHTML::onExportOptionSelected |
( |
ilExportHandlerConsumerContextInterface |
$context | ) |
|
Definition at line 66 of file class.ilHTLMExportOptionHTML.php.
References ilExport\_createExportDirectory(), ilExport\_getExportDirectory(), ILIAS\Repository\ctrl(), and IL_INST_ID.
84 $zip_file = LegacyPathHelper::createRelativePath(
85 $export_dir .
"/" . $date .
"__" .
IL_INST_ID .
"__" .
86 $object->getType() .
"_" . $object->getId() .
".zip" 89 $stream = $this->irss->consume()->stream($object->getResource()->getIdentification())->getStream();
90 $this->storage->writeStream($zip_file, $stream);
92 $this->
ctrl->redirect(
$context->exportGUIObject(),
$context->exportGUIObject()::CMD_LIST_EXPORT_FILES);
static _getExportDirectory(int $a_obj_id, string $a_type="xml", string $a_obj_type="", string $a_entity="")
Get export directory for an repository object
static _createExportDirectory(int $a_obj_id, string $a_export_type="xml", string $a_obj_type="")
◆ $ctrl
ilCtrl ilHTLMExportOptionHTML::$ctrl |
|
protected |
◆ $irss
IRSS ilHTLMExportOptionHTML::$irss |
|
protected |
◆ $lng
◆ $storage
The documentation for this class was generated from the following file: