Commit Graph

8 Commits

Author SHA1 Message Date
David Mudrak dcfffe3072 MDL-24531 Extend filter manager API so that options can be passed to the filters
The only option passed at the moment is the original format in which the
user inserted the text. Other options can be added later if/when needed.
2010-10-07 08:57:20 +00:00
Petr Skoda 35716b8682 MDL-22001 filter_text() and filter_string() now use context parameter instead of courseid, PAGE->context is used only as a fallback; moved comment stuff away from format_text() because it does not belong there; filterlib is not using courseid except for legacy filters; fixed coding style in filters;?improved php docs; fixed upgrade of filters (should be in plugins, not core) 2010-07-30 20:51:01 +00:00
Petr Skoda 4317f92f3f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:51:40 +00:00
tjhunt ccc161f8f0 filters: MDL-7336 change weblib to use the new code
* Rename filter base class from filter_base to moodle_text_filter
* Remove unnecessary explicit constructors in moodle_text_filter
subclasses
* New filter_manager class, rather than static methods in filter_base
* Move some logic out of weblib, and into filter_manager
* Count filtering ops when $CFG->perfdebug on, via
performance_measuring_filter_manager
* Kill unused filter_string function. Petr said it should have been
private to weblib
2009-04-13 06:56:32 +00:00
tjhunt d57f347420 filters: MDL-7336 ->formatstring is not mentioned anywhere else in the code, so remove. 2009-04-13 06:54:57 +00:00
dongsheng 9e3f34d1c7 "FILTER/MDL-14582, filters 2.0, compatible with old filters" 2008-12-19 02:16:00 +00:00
skodak c543cfe15f More multilang support for site fullname, plus a couple extra comments. merged from MOODLE_18_STABLE 2007-03-30 21:10:15 +00:00
moodler e3f19cb089 New filter for Email protection ... filters all email addresses in Moodle
text and obfuscates them from spammer's robotic eyes

Thanks Mike Churchward!  http://moodle.org/mod/forum/discuss.php?d=11302
2004-09-02 04:14:06 +00:00