PHP 클래스 Phergie_Plugin_Censor, phergie

저자: Phergie Development Team ([email protected])
상속: extends Phergie_Plugin_Abstract
파일 보기 프로젝트 열기: phergie/phergie

보호된 프로퍼티들

프로퍼티 타입 설명
$soap SoapClient SOAP client to interact with the CDYNE Profanity Filter API

공개 메소드들

메소드 설명
cleanString ( string $string ) : string Returns a "clean" version of a given string.
onLoad ( ) : void Checks for dependencies.
preDispatch ( ) : void Processes events before they are dispatched and either censors their content or discards them if they contain potentially offensive content.

메소드 상세

cleanString() 공개 메소드

Returns a "clean" version of a given string.
public cleanString ( string $string ) : string
$string string String to clean
리턴 string Cleaned string

onLoad() 공개 메소드

Checks for dependencies.
public onLoad ( ) : void
리턴 void

preDispatch() 공개 메소드

Processes events before they are dispatched and either censors their content or discards them if they contain potentially offensive content.
public preDispatch ( ) : void
리턴 void

프로퍼티 상세

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

SOAP client to interact with the CDYNE Profanity Filter API
protected SoapClient $soap
리턴 SoapClient