Hi All
I'm sending one of my object to smarty like
$smarty->assign('test', new MyObject ) ;
....
$smarty->display('main.tpl');
the MyObject class has a function called 'render' which returns a string representation of itself.
So in main.tpl I want to render this object like
{$test->render()}
Unfortunately it doesn't show anything in the HTML. Any suggestions how I can make this work ?
Thnx a lot Jeanluca