[SMARTY] function in template

domantas <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Organization Informacijos tinklas
Message-ID <[email protected]>
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

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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.