From cb9ad614fe9e811a1565878ffbfb37803fa30486 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 11 Nov 2005 21:03:34 +0000 Subject: Changed getPropertyByPath and setPropertyByPath to getSubProperty and setSubProperty, respectively. --- framework/Web/UI/TTemplate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/UI/TTemplate.php') diff --git a/framework/Web/UI/TTemplate.php b/framework/Web/UI/TTemplate.php index df9bf813..160a00f0 100644 --- a/framework/Web/UI/TTemplate.php +++ b/framework/Web/UI/TTemplate.php @@ -148,11 +148,11 @@ class TTemplate extends TComponent implements ITemplate else // complex property { if(is_string($value)) - $component->setPropertyByPath($name,$value); + $component->setSubProperty($name,$value); else if($value[0]===0) $component->bindProperty($name,$value[1]); else - $component->setPropertyByPath($component->evaluateExpression($value[1])); + $component->setSubProperty($component->evaluateExpression($value[1])); } } $parent=isset($controls[$object[0]])?$controls[$object[0]]:$tplControl; -- cgit v1.2.3