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

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.ilBlogExportOptionHTML.php.

Member Function Documentation

◆ getExportOptionId()

ilBlogExportOptionHTML::getExportOptionId ( )

Definition at line 46 of file class.ilBlogExportOptionHTML.php.

46  : string
47  {
48  return 'blog_exp_option_html';
49  }

◆ getExportType()

ilBlogExportOptionHTML::getExportType ( )

Definition at line 41 of file class.ilBlogExportOptionHTML.php.

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

◆ getLabel()

ilBlogExportOptionHTML::getLabel ( )

Definition at line 56 of file class.ilBlogExportOptionHTML.php.

References ILIAS\Repository\lng().

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

◆ getSupportedRepositoryObjectTypes()

ilBlogExportOptionHTML::getSupportedRepositoryObjectTypes ( )

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

51  : array
52  {
53  return ['blog'];
54  }

◆ init()

ilBlogExportOptionHTML::init ( Container  $DIC)

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

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

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

◆ isPublicAccessPossible()

ilBlogExportOptionHTML::isPublicAccessPossible ( )

Definition at line 36 of file class.ilBlogExportOptionHTML.php.

36  : bool
37  {
38  return true;
39  }

◆ onExportOptionSelected()

ilBlogExportOptionHTML::onExportOptionSelected ( ilExportHandlerConsumerContextInterface  $context)

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

References ILIAS\Repository\ctrl().

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

Field Documentation

◆ $lng

ilLanguage ilBlogExportOptionHTML::$lng
protected

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


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