Свойство | Type | Description | |
---|---|---|---|
$soap | SoapClient | SOAP client to interact with the CDYNE Profanity Filter API |
Méthode | 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 |
Résultat | string | Cleaned string |
public preDispatch ( ) : void | ||
Résultat | void |