Invokes a method of an object or class.
Usually this function is needed only when you want to invoke a static class method.
Non-static object methods can be invoked directly. The following example
calls the
list_active_items() method of the
Shop_Cart class.
{% set items = method('Shop_Cart', 'list_active_items') %}