This commit is contained in:
Andrew Nicols
2020-05-26 08:06:39 +08:00
9 changed files with 231 additions and 18 deletions
+10 -1
View File
@@ -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
*