[SMARTY] Calling object methods

Garret Heaton <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
Is there a way to call a method on an object returned from another 
method in Smarty?

I'm trying to do: {$obj->getSomeObject()->getSomeString()} but it can't 
understand it. Is there any way to get around this. I want to avoid 
calling getSomeObject() before loading the template so that things are 
cleaner.

Thanks,
Garret
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.