object methods in templates?
| From: | K. Ono | Date: | Thu, 18 Jul 2002 09:20:26 +0000 |
| Subject: | object methods in templates? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5354@lists.php.net to get a copy of this message | ||
Does Smarty allow you to access object methods?
For example
name: {$person->getName()}<br>
email: {$person->getEmail()}<br>
thanks in advance