I'm trying to set up a filter with local settings. I couldn't get mine to work, so I tried it with the "hello world!" example from the documentation and couldn't get local settings to work that way either. Everything worked with just global settings, but trying to follow the example for applying local settings, the filter stopped working. (I've put both bits of code in the attached files and test by commenting out one of them.)
I also tried just using the line:
$word = $CFG->filter_helloworld/word;
Just that line didn't work either, but using the get_config command inside the function:
also didn't work. Am I missing something in my files to get the "->" call to work?
It also isn't clear (to me) when a file needs to end with "?>". Is there a simple rule for that?