htmlStrip() public static method

This method strips the following characters from a string: HTML entities: <, >, "
public static htmlStrip ( $s ) : string
return string encoded string
コード例 #1
0
ファイル: THtmlWriter.php プロジェクト: pradosoft/prado
 /**
  * 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)]);
 }