sContent = $sContent; if (!empty($sContent)) { $this->AddSubBlock(new Html($sContent)); } } /** * @return string */ public function GetTitle(): string { return $this->sTitle; } /** * @param string $sTitle Title of the alert * * @return $this */ public function SetTitle(string $sTitle): Dialog { $this->sTitle = $sTitle; return $this; } /** * Return the raw HTML content, should be already sanitized. * * @return string */ public function GetContent(): string { return $this->sContent; } /** * Set the raw HTML content, must be already sanitized. * * @param string $sContent The raw HTML content, must be already sanitized * * @return $this */ public function SetContent(string $sContent): Dialog { $this->sContent = $sContent; return $this; } }