Merge branch 'MDL-67547' of https://github.com/paulholden/moodle
This commit is contained in:
+10
-1
@@ -2103,7 +2103,7 @@ class table_default_export_format_parent {
|
||||
*/
|
||||
class table_dataformat_export_format extends table_default_export_format_parent {
|
||||
|
||||
/** @var $dataformat */
|
||||
/** @var \core\dataformat\base $dataformat */
|
||||
protected $dataformat;
|
||||
|
||||
/** @var $rownum */
|
||||
@@ -2138,6 +2138,15 @@ class table_dataformat_export_format extends table_default_export_format_parent
|
||||
\core\session\manager::write_close();
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the current dataformat supports export of HTML
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function supports_html(): bool {
|
||||
return $this->dataformat->supports_html();
|
||||
}
|
||||
|
||||
/**
|
||||
* Start document
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user