ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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\Export\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\Export\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.

55 : string
56 {
57 $this->lng->loadLanguageModule('exp');
58 return $this->lng->txt("exp_format_dropdown-html");
59 }

References ILIAS\Repository\lng().

+ 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)

Reimplemented from ILIAS\Export\HTML\ExportOptionBase.

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

29 : void
30 {
31 $this->lng = $DIC->language();
33 }
language()
Get interface to the i18n service.
Definition: Container.php:95
global $DIC
Definition: shib_login.php:26

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

+ Here is the call graph for this function:

◆ isPublicAccessPossible()

ilGlossaryExportOptionHTML::isPublicAccessPossible ( )

Reimplemented from ILIAS\Export\ExportHandler\Consumer\ExportOption\BasicHandler.

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.

63 : void {
64 $this->ctrl->redirectByClass(ilObjGlossaryGUI::class, "exportHTML");
65 }

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: