|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| filter ($text, array $options=array()) | |
This class looks for email addresses in Moodle text and hides them using the Moodle obfuscate_text function.
Definition at line 33 of file filter.php.
Override this function to actually implement the filtering.
| $text | some HTML content. | |
| array | $options | options passed to the filters |
Do a quick check using stripos to avoid unnecessary work
There might be an email in here somewhere so continue ...
regular expression to define a standard email string.
pattern to find a mailto link with the linked text.
pattern to find any other email address in the text.
Reimplemented from moodle_text_filter.
Definition at line 34 of file filter.php.