protected function get_text_filters($context) {
        if (!isset($this->textfilters[$context->id])) {
            $this->load_filters($context);
        }
        return $this->textfilters[$context->id];
    }
protected function get_text_filters($context) {
        if (!isset($this->textfilters[$context->id])) {
            $this->load_filters($context);
        }
        return $this->textfilters[$context->id];
    }
protected function get_text_filters ( $ context ) { if ( ! isset ( $ this -> textfilters [ $ context -> id ] ) ) { $ this -> load_filters ( $ context ) ; } return $ this -> textfilters [ $ context -> id ] ; }
Get all the filters that apply to a given context for calls to format_text.

@param context $context
@return moodle_text_filter[] A text filter
Get all the filters that apply to a given context for calls to format_text .