Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

ayuda rapida plz

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Spanish
View previous topic :: View next topic  
Author Message
Fogox
Smarty Rookie


Joined: 09 Apr 2008
Posts: 6

PostPosted: Wed Apr 09, 2008 6:29 pm    Post subject: ayuda rapida plz Reply with quote

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
View user's profile Send private message
rocesvinto
Smarty Rookie


Joined: 16 Apr 2008
Posts: 5
Location: Granada, Spain

PostPosted: Wed Apr 16, 2008 8:48 pm    Post subject: Re: ayuda rapida plz Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Spanish All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP