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

Public Member Functions

 init (Container $DIC)
 
 isObjectSupported (ObjectId $object_id)
 
 getExportType ()
 
 getExportOptionId ()
 
 getSupportedRepositoryObjectTypes ()
 
 getLabel ()
 
 onExportOptionSelected (ilExportHandlerConsumerContextInterface $context)
 
- Public Member Functions inherited from ILIAS\Export\ExportHandler\Consumer\ExportOption\BasicLegacyHandler
 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\ExportHandler\Consumer\ExportOption\BasicLegacyHandler
ilCtrl $ctrl
 
ilDataFactory $data_factory
 

Detailed Description

Definition at line 26 of file class.ilBlogExportOptionHTMLWithComments.php.

Member Function Documentation

◆ getExportOptionId()

ilBlogExportOptionHTMLWithComments::getExportOptionId ( )

Definition at line 48 of file class.ilBlogExportOptionHTMLWithComments.php.

48  : string
49  {
50  return 'blog_exp_option_html_with_comments';
51  }

◆ getExportType()

ilBlogExportOptionHTMLWithComments::getExportType ( )

Definition at line 43 of file class.ilBlogExportOptionHTMLWithComments.php.

43  : string
44  {
45  return 'html_comments';
46  }

◆ getLabel()

ilBlogExportOptionHTMLWithComments::getLabel ( )

Definition at line 58 of file class.ilBlogExportOptionHTMLWithComments.php.

References ILIAS\Repository\lng().

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

◆ getSupportedRepositoryObjectTypes()

ilBlogExportOptionHTMLWithComments::getSupportedRepositoryObjectTypes ( )

Definition at line 53 of file class.ilBlogExportOptionHTMLWithComments.php.

53  : array
54  {
55  return ['blog'];
56  }

◆ init()

ilBlogExportOptionHTMLWithComments::init ( Container  $DIC)

Definition at line 30 of file class.ilBlogExportOptionHTMLWithComments.php.

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

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

◆ isObjectSupported()

ilBlogExportOptionHTMLWithComments::isObjectSupported ( ObjectId  $object_id)

Definition at line 37 of file class.ilBlogExportOptionHTMLWithComments.php.

References ilObjBlogAccess\isCommentsExportPossible(), and ILIAS\Data\ObjectId\toInt().

39  : bool {
41  }
static isCommentsExportPossible(int $blog_id)
+ Here is the call graph for this function:

◆ onExportOptionSelected()

ilBlogExportOptionHTMLWithComments::onExportOptionSelected ( ilExportHandlerConsumerContextInterface  $context)

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

References ILIAS\Repository\ctrl().

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

Field Documentation

◆ $lng

ilLanguage ilBlogExportOptionHTMLWithComments::$lng
protected

Definition at line 28 of file class.ilBlogExportOptionHTMLWithComments.php.


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