Return function value

Hi,

on my icinga config (on a template) I have some vars on my config template. So in icinga web I can see:

Custom Variables
var1 	Object of type 'Function'

Is there any mean to display this value there?
I’ve tested with string()… but no way.

Alex