htmlStrip() public static méthode

This method strips the following characters from a string: HTML entities: <, >, "
public static htmlStrip ( $s ) : string
Résultat string encoded string
Exemple #1
0
 /**
  * Removes the named stylesheet attribute from rendering
  * @param string name of the stylesheet attribute to be removed
  */
 public function removeStyleAttribute($name)
 {
     unset($this->_styles[THttpUtility::htmlStrip($name)]);
 }