ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilGlossaryExportOptionHTML Class Reference
+ Inheritance diagram for ilGlossaryExportOptionHTML:
+ Collaboration diagram for ilGlossaryExportOptionHTML:

Public Member Functions

 init (Container $DIC)
 
 isPublicAccessPossible ()
 
 getExportType ()
 
 getExportOptionId ()
 
 getSupportedRepositoryObjectTypes ()
 
 getLabel ()
 
 onExportOptionSelected (ilExportHandlerConsumerContextInterface $context)
 
- Public Member Functions inherited from ILIAS\Data\Text\HTML\ExportOptionBase
 init (Container $DIC)
 
 onDeleteFiles (ilExportHandlerConsumerContextInterface $context, ilExportHandlerConsumerFileIdentifierCollectionInterface $file_identifiers)
 
 onDownloadFiles (ilExportHandlerConsumerContextInterface $context, ilExportHandlerConsumerFileIdentifierCollectionInterface $file_identifiers)
 
 onDownloadWithLink (ReferenceId $reference_id, ilExportHandlerConsumerFileIdentifierInterface $file_identifier)
 
 getFileSelection (ilExportHandlerConsumerContextInterface $context, ilExportHandlerConsumerFileIdentifierCollectionInterface $file_identifiers)
 
 getFiles (ilExportHandlerConsumerContextInterface $context)
 
- Public Member Functions inherited from ILIAS\Export\ExportHandler\Consumer\ExportOption\BasicHandler
 __construct ()
 
 isObjectSupported (ObjectId $object_id)
 
 isPublicAccessPossible ()
 

Protected Attributes

ilLanguage $lng
 
- Protected Attributes inherited from ILIAS\Data\Text\HTML\ExportOptionBase
ilExportHTMLStakeholder $stakeholder
 
ExportFileDBRepository $repo
 
ilCtrl $ctrl
 
ilDataFactory $data_factory
 

Detailed Description

Definition at line 25 of file class.ilGlossaryExportOptionHTML.php.

Member Function Documentation

◆ getExportOptionId()

ilGlossaryExportOptionHTML::getExportOptionId ( )

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

45  : string
46  {
47  return 'glo_exp_option_html';
48  }

◆ getExportType()

ilGlossaryExportOptionHTML::getExportType ( )

Definition at line 40 of file class.ilGlossaryExportOptionHTML.php.

40  : string
41  {
42  return 'html';
43  }

◆ getLabel()

ilGlossaryExportOptionHTML::getLabel ( )

Definition at line 55 of file class.ilGlossaryExportOptionHTML.php.

References ILIAS\Repository\lng().

55  : string
56  {
57  $this->lng->loadLanguageModule('exp');
58  return $this->lng->txt("exp_format_dropdown-html");
59  }
+ Here is the call graph for this function:

◆ getSupportedRepositoryObjectTypes()

ilGlossaryExportOptionHTML::getSupportedRepositoryObjectTypes ( )

Definition at line 50 of file class.ilGlossaryExportOptionHTML.php.

50  : array
51  {
52  return ['glo'];
53  }

◆ init()

ilGlossaryExportOptionHTML::init ( Container  $DIC)

Definition at line 29 of file class.ilGlossaryExportOptionHTML.php.

References init(), ILIAS\DI\Container\language(), and ILIAS\Repository\lng().

29  : void
30  {
31  $this->lng = $DIC->language();
32  parent::init($DIC);
33  }
language()
Get interface to the i18n service.
Definition: Container.php:95
+ Here is the call graph for this function:

◆ isPublicAccessPossible()

ilGlossaryExportOptionHTML::isPublicAccessPossible ( )

Definition at line 35 of file class.ilGlossaryExportOptionHTML.php.

35  : bool
36  {
37  return true;
38  }

◆ onExportOptionSelected()

ilGlossaryExportOptionHTML::onExportOptionSelected ( ilExportHandlerConsumerContextInterface  $context)

Definition at line 61 of file class.ilGlossaryExportOptionHTML.php.

References ILIAS\Repository\ctrl().

63  : void {
64  $this->ctrl->redirectByClass(ilObjGlossaryGUI::class, "exportHTML");
65  }
+ Here is the call graph for this function:

Field Documentation

◆ $lng

ilLanguage ilGlossaryExportOptionHTML::$lng
protected

Definition at line 27 of file class.ilGlossaryExportOptionHTML.php.


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