]> git.mjollnir.org Git - moodle.git/commit
filters: MDL-7336 change weblib to use the new code
authortjhunt <tjhunt>
Mon, 13 Apr 2009 06:56:32 +0000 (06:56 +0000)
committertjhunt <tjhunt>
Mon, 13 Apr 2009 06:56:32 +0000 (06:56 +0000)
commitccc161f8f0f94e0bf82cc00b1573c195cbb2974a
tree09888f5e43d3d133025b3045f5d88b2ccb7827dd
parentbbb459050e831ccd45fbad704449b59a895143e7
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
14 files changed:
blocks/moodleblock.class.php
course/info.php
filter/activitynames/filter.php
filter/algebra/filter.php
filter/censor/filter.php
filter/emailprotect/filter.php
filter/mediaplugin/filter.php
filter/multilang/filter.php
filter/tex/filter.php
filter/tidy/filter.php
lib/filterlib.php
lib/moodlelib.php
lib/simpletest/testfiltermanager.php [new file with mode: 0644]
lib/weblib.php