Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
This class looks for email addresses in Moodle text and hides them using the Moodle obfuscate_text function. More...
Public Member Functions | |
filter ($text, array $options=array()) | |
Override this function to actually implement the filtering. More... | |
hash () | |
setup ($page, $context) | |
Setup page with filter requirements and other prepare stuff. More... | |
Protected Attributes | |
context | $context |
The context we are in. | |
array | $localconfig |
Any local configuration for this filter in this context. | |
This class looks for email addresses in Moodle text and hides them using the Moodle obfuscate_text function.
filter_emailprotect::filter | ( | $text, | |
array | $options = array() |
||
) |
Override this function to actually implement the filtering.
string | $text | some HTML content to process. |
array | $options | options passed to the filters |
string | the HTML content after the filtering has been applied. |
Reimplemented from moodle_text_filter.