This topic is locked

Name convention

2/23/2009 3:00:34 PM
PHPRunner General questions
K
kinho author

Hi Jane:
While exploring the vacation template project, I have a question on the name convention when passing variables to the smarty object.

I am not sure how the variable name is tied to the variable i.e. name: row00Header_value to the property image, "row00".$i."Year_value","March 2009"
$smarty->assign("row00Header_value","<table>....
$smarty->assign("row00".$i."Year_value", $locale_info["LOCALE_SMONTHNAME".$tMonth]." ".$tYear);
$smarty->assign("row00".intval($j+$wd)."Day".$i."Year_value", $j);
I understand the smarty side of assigning $variable to variable_name, but I don't understand where the "row00<extra>" part comes from.

Is there any standard name convention by PHPRunners to setup those variable name for access in the generated webpage?
Appreciate your help and time,

Kin