summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TTemplate.php
diff options
context:
space:
mode:
authorxue <>2005-11-11 21:03:34 +0000
committerxue <>2005-11-11 21:03:34 +0000
commitcb9ad614fe9e811a1565878ffbfb37803fa30486 (patch)
treecfcd509ab0b99525744a2347d27841c2d30f54ed /framework/Web/UI/TTemplate.php
parent26ede97cc6771418af76a999931ccf5f4a8705a4 (diff)
Changed getPropertyByPath and setPropertyByPath to getSubProperty and setSubProperty, respectively.
Diffstat (limited to 'framework/Web/UI/TTemplate.php')
-rw-r--r--framework/Web/UI/TTemplate.php4
1 files changed, 2 insertions, 2 deletions
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;