Accueil Features Demos Download Installation User Manual Developer Manual Relation function Credits

Connecter

inc/parsers/usefunction.php

If the first line of the page is #USEFUNCTION the function named in the same line is applied to the rest of the content of the entire page.

This directive allows to add the complete structured text files (XML, JSON, CSV) into the page (which are indexed by search) without having to escape special characters.

NB: It must be a function and not only a template, because the current parser recreates a parseable file at each template parsing, where the characters would be exposed again. The function however receives a clean argument. However, if requested, we will find a way to escape this text so that it works also with templates. Tell us.

File structure inc folder inc-parsers folder