I want this in a Smarty template:

 

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….

 

Cliff Hirsch

_______________________________
Pinestream Communications, Inc.
Publisher of Semiconductor Times & Telecom Trends
52 Pine Street, Weston, MA 02493 USA
Tel: 781.647.8800, Fax: 781.647.8825
http://www.pinestream.com

 

_______________________________________________
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