Activity name filtering.
More...
|
context | $context |
| The context we are in.
|
|
array | $localconfig |
| Any local configuration for this filter in this context.
|
|
◆ filter()
filter_activitynames::filter |
( |
| $text, |
|
|
array | $options = array() ) |
Override this function to actually implement the filtering.
Filter developers must make sure that filtering done after text cleaning does not introduce security vulnerabilities.
- Parameters
-
string | $text | some HTML content to process. |
array | $options | options passed to the filters |
- Return values
-
string | the HTML content after the filtering has been applied. |
Reimplemented from moodle_text_filter.
◆ get_activity_list()
filter_activitynames::get_activity_list |
( |
| $courseid | ) |
|
|
protected |
Get all the activity list for a course.
- Parameters
-
int | $courseid | id of the course |
- Return values
-
filterobject[] | the activities |
◆ get_cached_activity_list()
filter_activitynames::get_cached_activity_list |
( |
| $courseid | ) |
|
|
protected |
Get all the cached activity list for a course.
- Parameters
-
int | $courseid | id of the course |
- Return values
-
filterobject[] | the activities |
The documentation for this class was generated from the following file:
- filter/activitynames/filter.php