PHP 클래스 Prado\Web\THttpUtility

부터: 3.0
저자: Qiang Xue ([email protected])
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
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