Class \Prado\Web\THttpUtility
THttpUtility class
Class hierarchy
Author: Qiang Xue <qiang.xue@gmail.com>Since: 3.0
public
static
|
|
public
static
|
htmlEncode(string $s) : string
HTML-encodes a string.
This method translates the following characters to their corresponding HTML entities: <, >, " Note, unlike htmlspecialchars, & is not translated. |
public
static
|
htmlStrip(string $s) : string
This method strips the following characters from a string:
HTML entities: <, >, "
|
|