N°3785 - Use DownloadPage to download documents

This commit is contained in:
Eric
2021-03-04 16:37:15 +01:00
parent 226c301d92
commit 622b486d1f
10 changed files with 42 additions and 97 deletions

View File

@@ -202,9 +202,9 @@ class WebPage implements Page
/**
* @inheritDoc
*/
public function add($s_html): ?iUIBlock
public function add($s_html)
{
return $this->oContentLayout->AddHtml($s_html);
$this->oContentLayout->AddHtml($s_html);
}
/**
@@ -1172,7 +1172,7 @@ class WebPage implements Page
*
* @return void
*/
public function SetContentType($sContentType)
public function SetContentType(string $sContentType)
{
$this->sContentType = $sContentType;
}