CustomFields : Bootstrap integration

SVN:trunk[3944]
This commit is contained in:
Guillaume Lajarige
2016-03-11 12:42:21 +00:00
parent e6887ab317
commit 7ea5176b56
11 changed files with 413 additions and 84 deletions

View File

@@ -91,9 +91,9 @@ class RenderingOutput
* @param string $sHtml
* @return \Combodo\iTop\Renderer\RenderingOutput
*/
public function AddHtml($sHtml)
public function AddHtml($sHtml, $bEncodeHtmlEntities = false)
{
$this->sHtml .= $sHtml;
$this->sHtml .= ($bEncodeHtmlEntities) ? htmlentities($sHtml, ENT_QUOTES, 'UTF-8') : $sHtml;
return $this;
}