CustomSmarty class include functions