Property | Type | Description | |
---|---|---|---|
$soap | SoapClient | SOAP client to interact with the CDYNE Profanity Filter API |
Method | Description | |
---|---|---|
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. |
public cleanString ( string $string ) : string | ||
$string | string | String to clean |
return | string | Cleaned string |
public preDispatch ( ) : void | ||
return | void |