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

Public Member Functions | |
| __construct ($context, array $localconfig) | |
| hash () | |
| filter ($text, array $options=array()) | |
Protected Attributes | |
| $context | |
| $localconfig | |
Definition at line 336 of file filterlib.php.
| __construct | ( | $ | context, |
| array $ | localconfig | ||
| ) |
Set any context-specific configuration for this filter.
| object | $context | The current course id. |
| object | $context | The current context. |
| array | $config | Any context-specific configuration for this filter. |
Definition at line 348 of file filterlib.php.
Override this function to actually implement the filtering.
| $text | some HTML content. | |
| array | $options | options passed to the filters |
Reimplemented in legacy_filter, filter_tex, filter_algebra, filter_mediaplugin, filter_censor, filter_emoticon, filter_urltolink, filter_multilang, filter_tidy, filter_activitynames, filter_glossary, filter_data, and filter_emailprotect.
| hash | ( | ) |
Reimplemented in filter_censor.
Definition at line 356 of file filterlib.php.
$context [protected] |
Definition at line 338 of file filterlib.php.
$localconfig [protected] |
Definition at line 340 of file filterlib.php.