RE: [SMARTY] object methods in templates?
| From: | Rasmus T. Mohr | Date: | Fri, 19 Jul 2002 08:38:47 +0000 |
| Subject: | RE: [SMARTY] object methods in templates? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5363@lists.php.net to get a copy of this message | ||
Is that a work around you would like to share with the rest of us? ;-)
-----------------------------------------------------------
Rasmus T. Mohr Phone : +45 70 117 117
Application Developer Direct : +45 36 910 122
Netpointers Intl. Mobile : +45 28 731 827
Vestergade 18 B Website : www.netpointers.com
1456 Copenhagen K Email : rmo@netpointers.com
> -----Original Message-----
> From: K. Ono [mailto:webmaster@myweb.ne.jp]
> Sent: Thursday, July 18, 2002 4:58 PM
> To: smarty-general@lists.php.net
> Subject: Re: [SMARTY] object methods in templates?
>
>
> Thganks..
>
> In fact, the prob was more complicated than I have posted as
> an example, but
> found a workaround.
>
> Thanks anyway for the help.
>
>
> ----- Original Message -----
> From: "Peter Billen" <peter@clueless.be>
> To: <smarty-general@lists.php.net>
> Sent: Thursday, July 18, 2002 6:23 PM
> Subject: RE: [SMARTY] object methods in templates?
>
>
> > php:
> >
> > $t->assign("name",$person->getName());
> >
> > template:
> >
> > name: {name}<br>
> >
> > Not? :)
> >
> > Peter
> >
> > -----Original Message-----
> > From: K. Ono [mailto:webmaster@myweb.ne.jp]
> > Sent: donderdag 18 juli 2002 11:20
> > To: smarty-general@lists.php.net
> > Subject: [SMARTY] object methods in templates?
> >
> > Does Smarty allow you to access object methods?
> >
> > For example
> >
> > name: {$person->getName()}<br>
> > email: {$person->getEmail()}<br>
> >
> > thanks in advance
> >
> >
> >
> > --
> > Smarty General Mailing List (http://smarty.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> > --
> > Smarty General Mailing List (http://smarty.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>