Tag Callbacks

This example shows using tag callbacks to call php functions or methods.
In this example we use the default text "Some text for example"

Any methods you create in a sub-class of XTemplate (e.g. my_class extends XTemplate) are automatically available as a callback and will take priority over function calls of the same name.
Additionally, the following callback functions are available as standard (can be altered in XTemplate::allowed_callbacks array):

{{callback}},