Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Function to call for parsing?
I'm wondering if there's a function I can call to automatically format a string using all loaded parsers (like what is done to all comments). I've tried snooping around and figured it might be StringManipulator->GlobalParse(), but that's not giving me any results (either that or the parameters are set up to cater to comments only). Any help would be appreciated.
0
This discussion has been closed.
Comments
foreach ($this->Context->StringManipulator->Formatters as $Formatter){ $Description = $Formatter->Parse($Description, $this, FORMAT_STRING_FOR_DISPLAY); }
Also, I think things like this need to be in documentation (maybe they are and I just can't find them), but while developing for about a week, I've encountered a few problems that required a lot more reverse engineering than should be needed.