You can use Placeholder in text-Strings
Example
Last Connect [lastconnect=@user_id@]
this calls the placeholder-function "lastconnect"
and set the Variable placeholder1= the current user
if a placeholder is execute, then beas save this in a cache.
If you call this Placeholder second time, then beas use the Cache.
with "placeholder=delete=<area>" you can delete all placeholder, which are have this area
you define the Area in the placeholder-function "parameter"
you can work with variables, example "@user_id@" = current user
shtml=placeholder=command=parameter
placeholder=execvar=<variable> |
Get content from variable execute the placeholder Write the result back in the variable |
placeholder=exec=pl-name=param1=param2... |
Execute the Placeholder 1. Check Cache. Return the Cache if found and alive 2. set Variable "placeholder1, placeholder2...." 3. execute the placeholder-function 4. save the result in the Cache 5. write the script |
placeholder=clear=<area> |
Cleare all placeholder from memory from this area the area is defined in the placeholder.parameter |