|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Fogox Smarty Rookie
Joined: 09 Apr 2008 Posts: 6
|
Posted: Wed Apr 09, 2008 6:29 pm Post subject: ayuda rapida plz |
|
|
puedo llamar a toda una funcion de php con un smarty ejemplo....
$smarty->assign('todaLaFuncion',' ............................ ......');
que sea toda mi funcion.... con un solo nombre???
o hay que declarar todo ????
salu2... |
|
Back to top |
|
rocesvinto Smarty Rookie
Joined: 16 Apr 2008 Posts: 5 Location: Granada, Spain
|
Posted: Wed Apr 16, 2008 8:48 pm Post subject: Re: ayuda rapida plz |
|
|
Fogox... Ejecutas la función que quieras en php y luego la mandas a smarty así:
$smarty->assign('todaLaFuncion',lafuncionqueseaenphp($consusparams));
Espero haberte ayudado.
rocesvinto.
Fogox wrote: | puedo llamar a toda una funcion de php con un smarty ejemplo....
$smarty->assign('todaLaFuncion',' ............................ ......');
que sea toda mi funcion.... con un solo nombre???
o hay que declarar todo ????
salu2... |
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|