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


Public Member Functions | |
| filter ($text, array $options=array()) | |
Static Public Attributes | |
| static | $activitylist = null |
| static | $cachedcourseid |
Activity name filtering
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 |
It may be cached
Casting $course->modinfo to string prevents one notice when the field is null
We will store all the activities here
Avoid empty or unlinkable activity names
If name has some entity (& " < >) add that filter too. MDL-17545
Reimplemented from moodle_text_filter.
Definition at line 38 of file filter.php.

$activitylist = null [static] |
Definition at line 35 of file filter.php.
$cachedcourseid [static] |
Definition at line 36 of file filter.php.