PHP Класс Prado\Web\THttpUtility

С версии: 3.0
Автор: Qiang Xue ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
htmlDecode ( $s ) : string HTML-decodes a string.
htmlEncode ( $s ) : string HTML-encodes a string.
htmlStrip ( $s ) : string This method strips the following characters from a string: HTML entities: <, >, "

Описание методов

htmlDecode() публичный статический Метод

It is the inverse of {@link htmlEncode}.
public static htmlDecode ( $s ) : string
Результат string decoded string

htmlEncode() публичный статический Метод

This method translates the following characters to their corresponding HTML entities: <, >, " Note, unlike {@link htmlspecialchars}, & is not translated.
public static htmlEncode ( $s ) : string
Результат string encoded string

htmlStrip() публичный статический Метод

This method strips the following characters from a string: HTML entities: <, >, "
public static htmlStrip ( $s ) : string
Результат string encoded string