Learndash_Admin_Export_Proquiz::__construct( bool $with_progress, WpProQuiz_Model_StatisticRefMapper $statistic_ref_mapper, WpProQuiz_Model_StatisticMapper $statistic_mapper, WpProQuiz_Helper_Export $quiz_exporter, Learndash_Admin_Export_File_Handler $file_handler, Learndash_Import_Export_Logger $logger )
Constructor.
Description #
Parameters #
- $with_progress
-
(bool) (Required) The flag to identify if we need to export statistics.
- $statistic_ref_mapper
-
(WpProQuiz_Model_StatisticRefMapper) (Required) Statistic Ref Mapper class instance.
- $statistic_mapper
-
(WpProQuiz_Model_StatisticMapper) (Required) Statistic Mapper class instance.
- $quiz_exporter
-
(WpProQuiz_Helper_Export) (Required) Quiz exporter class instance.
- $file_handler
-
(Learndash_Admin_Export_File_Handler) (Required) File Handler class instance.
- $logger
-
(Learndash_Import_Export_Logger) (Required) Logger class instance.
Return #
(void)
Source #
File: includes/admin/classes-import-export/export/class-learndash-admin-export-proquiz.php
Changelog #
Version | Description |
---|---|
4.5.0 | Changed the $logger param to the Learndash_Import_Export_Logger class. |
4.3.0 | Introduced. |