[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Plugins/Censor/ -> Configurator.php (summary)

(no description)

Copyright: Copyright (c) 2010-2022 The s9e authors
License: http://www.opensource.org/licenses/mit-license.php The MIT License
File Size: 257 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Configurator:: (7 methods):
  setUp()
  allow()
  getHelper()
  asConfig()
  getJSHints()
  getWords()
  getWordsRegexp()


Class: Configurator  - X-Ref


setUp()   X-Ref
Plugin's setup

Will initialize its collection and create the plugin's tag if it does not exist

allow($word)   X-Ref
Add a word to the list of uncensored words

param: string $word Word to exclude from the censored list
return: void

getHelper()   X-Ref
Return an instance of s9e\TextFormatter\Plugins\Censor\Helper

return: Helper

asConfig()   X-Ref
{@inheritdoc}


getJSHints()   X-Ref
{@inheritdoc}


getWords()   X-Ref
Return a list of censored words

return: string[]

getWordsRegexp(array $words)   X-Ref
Generate a regexp that matches the given list of words

param: array   $words List of words
return: Regexp         Regexp instance with a Unicode-free JS variant



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1