<TABLENAME="filter_active"COMMENT="Stores information about which filters are active in which contexts. Also the filter sort order. See get_active_filters in lib/filterlib.php for how this data is used."PREVIOUS="course_format_options"NEXT="filter_config">
<FIELDNAME="filter"TYPE="char"LENGTH="32"NOTNULL="true"SEQUENCE="false"COMMENT="The filter internal name, like 'filter/tex' or 'mod/glossary'."PREVIOUS="id"NEXT="contextid"/>
<FIELDNAME="filter"TYPE="char"LENGTH="32"NOTNULL="true"SEQUENCE="false"COMMENT="The filter internal name, like 'tex'."PREVIOUS="id"NEXT="contextid"/>
<FIELDNAME="active"TYPE="int"LENGTH="4"NOTNULL="true"SEQUENCE="false"COMMENT="Whether this filter is active in this context. +1 = On, -1 = Off, no row with this contextid = inherit. As a special case, when contextid points to the system context, -9999 means this filter is completely disabled."PREVIOUS="contextid"NEXT="sortorder"/>
<FIELDNAME="sortorder"TYPE="int"LENGTH="10"NOTNULL="true"DEFAULT="0"SEQUENCE="false"COMMENT="Only relevant if contextid points to the system context. In other cases this field should contain 0. The order in which the filters should be applied."PREVIOUS="active"/>
...
...
@@ -472,7 +472,7 @@
<TABLENAME="filter_config"COMMENT="Stores per-context configuration settings for filters which have them."PREVIOUS="filter_active"NEXT="event">
<FIELDNAME="filter"TYPE="char"LENGTH="32"NOTNULL="true"SEQUENCE="false"COMMENT="The filter internal name, like 'filter/tex' or 'mod/glossary'."PREVIOUS="id"NEXT="contextid"/>
<FIELDNAME="filter"TYPE="char"LENGTH="32"NOTNULL="true"SEQUENCE="false"COMMENT="The filter internal name, like 'tex'."PREVIOUS="id"NEXT="contextid"/>