PHP Класс Phergie_Plugin_Censor, phergie

Автор: Phergie Development Team ([email protected])
Наследование: extends Phergie_Plugin_Abstract
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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