Jeez, I'm flattered but I'm no Smarty guru. Maybe the answer is "you
can't." At the risk of suggesting the obvious, any chance of breaking it
down into a less complex data structure at the PHP level, and assigning
that instead?

On Wed, 8 Nov 2006, Cliff Hirsch wrote:

> PHP equivalent: $params[0]->Contracts[$params[1]]['textkey']
>
> Smarty template: {$params[0]->Contracts.$params[1].textkey}
>
> This doesn't work. I can't figure out how to make the nested ->Contract
> [ $var[n]  } work in Smarty.
>
> Any ideas? David Mintz.hint, hint..

---
David Mintz
http://davidmintz.org/

En Nueva York el tr?nsito de la belleza a la desolaci?n sucede
siempre expeditivamente, como si el principio universal
de m?xima eficiencia hubiera aconsejado la supresi?n de
gradaciones intermedias.

  -- Antonio Mu?oz Molina, Ventanas de Manhattan


_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to