decodeHtmlEntities() public static method

Remove all non essential html tags and entities.
public static decodeHtmlEntities ( string $string ) : string
$string string
return string with the stripped entities.
Example #1
0
 /**
  * @param string $cssFileName
  * @param string $title
  *
  * @return string
  */
 function buildEPub3TOC($cssFileName = null, $title = "Table of Contents")
 {
     $this->ncx->referencesOrder = $this->referencesOrder;
     $this->ncx->setDocTitle(StringHelper::decodeHtmlEntities($this->title));
     return $this->ncx->finalizeEPub3($title, $cssFileName);
 }