function in template
| From: | domantas | Date: | Mon, 12 Dec 2005 16:58:15 +0000 |
| Subject: | function in template | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-13187@lists.php.net to get a copy of this message | ||
Hello, people !
my source in php :
$this->tpl->register_object('loginForm', $usersModule);
my source in tpl :
i need to call function "view" with param ('login') in template.
Something like this :
<th width="20%" colspan="4"
scope="row">{loginForm->view('login')}</th>
how can i do it ?
Thanks,
Domantas