PHP 클래스 Horde_Text_Filter_Emails, horde

Parameters:
class - (string) CSS class of the generated  tag.
        DEFAULT: ''
encode - (boolean) Whether to escape special HTML characters in the URLs
         and finally "encode" the complete tag so that it can be decoded
         later with the decode() method. This is useful if you want to run
         htmlspecialchars() or similar *after* using this filter.
         DEFAULT: false
Copyright 2003-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
저자: Tyler Colbert ([email protected])
저자: Jan Schneider ([email protected])
상속: extends Horde_Text_Filter_Base
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_params array Filter parameters.

공개 메소드들

메소드 설명
decode ( string $text ) : string "Decodes" the text formerly encoded by using the "encode" parameter.
getPatterns ( ) : array Returns a hash with replace patterns.
regexCallback ( array $matches ) : string Regular expression callback.

보호된 메소드들

메소드 설명
_regexCallback ( array $matches ) : string Regular expression callback.

메소드 상세

_regexCallback() 보호된 메소드

Regular expression callback.
protected _regexCallback ( array $matches ) : string
$matches array preg_replace_callback() matches. See regex above for description of matching data.
리턴 string Replacement string.

decode() 공개 정적인 메소드

"Decodes" the text formerly encoded by using the "encode" parameter.
public static decode ( string $text ) : string
$text string An encoded text.
리턴 string The decoded text.

getPatterns() 공개 메소드

Returns a hash with replace patterns.
public getPatterns ( ) : array
리턴 array Patterns hash.

regexCallback() 공개 메소드

Regular expression callback.
public regexCallback ( array $matches ) : string
$matches array preg_replace_callback() matches. See regex above for description of matching data.
리턴 string Replacement string.

프로퍼티 상세

$_params 보호되어 있는 프로퍼티

Filter parameters.
protected array $_params
리턴 array