contao/core — pull request #6176 by Toflar (2013-09-10 15:33:57+00:00)
Title: Callables in template

Hey people,

We needed to add closures to the templates in Isotope and as this is quite a cool feature we thought we might also add this to the Contao 3.2 core.

You can then do things like this:
```php
$objTemplate->sum = function($a, $b) {
return $a + $b;
}
```

So your users can use that function in the template:
```html

The sum is: sum(3, 7); ?>

```