31,028
edits
| Line 137: | Line 137: | ||
} | } | ||
</source> | </source> | ||
Function will be called before generating document to complete the array used for substitution and to replace tag myowntag with value $myvalue. You can add as many tags as you need and put all personalized code you want to define values (search into database, into files, calculation, from received parameters or from global variables)... | |||
Warning: First parameter in function parameter declaration must start with & as valu is modified by your code and must be returned modified. | Warning: First parameter in function parameter declaration must start with & as valu is modified by your code and must be returned modified. | ||