MetaFox

BanWord
in package
implements BanWord

Table of Contents

Interfaces

BanWord
Interface BanWord

Properties

$words  : array<string|int, mixed>

Methods

__construct()  : mixed
clean()  : string
getWords()  : array<string|int, mixed>
parse()  : string
init()  : void
isAllowHtml()  : bool
parseString()  : string

Properties

$words

private array<string|int, mixed> $words = []

Methods

__construct()

public __construct() : mixed

clean()

public clean([string|null $string = null ]) : string
Parameters
$string : string|null = null
Return values
string

getWords()

public getWords() : array<string|int, mixed>
Return values
array<string|int, mixed>

parse()

public parse([string|null $string = null ]) : string
Parameters
$string : string|null = null
Return values
string

isAllowHtml()

private isAllowHtml() : bool
Return values
bool

parseString()

private parseString([string|null $string = null ]) : string
Parameters
$string : string|null = null
Tags
SuppressWarnings

(PHPMD)

todo

implement later

Return values
string

        
On this page

Search results