decodeHtmlEntities() 공개 정적인 메소드

Remove all non essential html tags and entities.
public static decodeHtmlEntities ( string $string ) : string
$string string
리턴 string with the stripped entities.
예제 #1
0
파일: EPub.php 프로젝트: j0k3r/PHPePub
 /**
  * @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);
 }