|
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 |
minirop Smarty n00b
Joined: 29 Oct 2005 Posts: 1
|
Posted: Sat Oct 29, 2005 1:54 pm Post subject: problème avec les variables dans les templates |
|
|
bonjour,
j'ai commencer le développement avec Smarty et j'ai un problème avec les variables venant d'objets.
Mon script est composer une super-classe ($fgc) dont certians membres contiennent d'autres classes et des tableaux, mais pour y accéder çà ne marche pas.
Je veux accéder à :
$fgc->vars['style'] et smarty est $fgc->templates
j'ai essayer
- <{$fgc->vars.style}>
- <{$vars.style}>
- <{$this->vars.style}>
mais aucun ne marche. quelqu'un aurait il une idée ?
merci[/list] |
|
Back to top |
|
fpilucius Smarty Rookie
Joined: 28 Nov 2005 Posts: 5
|
Posted: Fri Dec 02, 2005 12:48 pm Post subject: |
|
|
affiche un peu de code
merci |
|
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
|