The actualiser to add a filtered-word.
tempcode
add_word
()
Standard modular entry-point finder function.
?array
get_entry_points
()
Standard modular info function.
?array
info
()
Standard modular install function.
void
install
([?integer $upgrade_from = NULL], [?integer $upgrade_from_hack = NULL])
-
?integer
$upgrade_from: What version we're upgrading from (NULL: new install)
-
?integer
$upgrade_from_hack: What hack version we're upgrading from (NULL: new-install/not-upgrading-from-a-hacked-version)
The actualiser to delete a filtered-word.
tempcode
remove_word
()
Standard modular run function.
tempcode
run
()
Standard modular uninstall function.
void
uninstall
()
The UI to choose a filtered-word to edit, or to add a filtered-word.
tempcode
word_filter_interface
()
Add a filtered-word.
void
_add_word
(SHORT_TEXT $word, SHORT_TEXT $replacement, BINARY $substr)
-
SHORT_TEXT
$word: The filtered-word
-
SHORT_TEXT
$replacement: Replacement (blank: block entirely)
-
BINARY
$substr: Whether to perform a substring match
Delete a filtered-word.
void
_remove_word
(SHORT_TEXT $word)
-
SHORT_TEXT
$word: The filtered-word