summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorxue <>2005-12-12 22:32:53 +0000
committerxue <>2005-12-12 22:32:53 +0000
commit9a2764c1ad41d4c187a55849029416abda697183 (patch)
tree2295126ba1998e1183be9697286f5d20116cb7a3 /framework/Web/UI
parentac8108bce36a22f0db6fe10059ecdcf8d26cf23e (diff)
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/TControl.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index 435f3905..6e36c123 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -712,23 +712,23 @@ class TControl extends TComponent
* Performs the databinding for this component.
* Databinding a property includes evaluating the binded expression
* and setting the property with the evaluation result.
- * @param boolean whether to raise OnDataBinding event.
+ * @param boolean whether to raise DataBinding event.
* @throws TInvalidOperationException if some bounded property is invalid
* @throws TExpressionInvalidException if some bounded expression is invalid
*/
- public function dataBind($raiseOnDataBinding=true)
+ public function dataBind($raiseDataBindingEvent=true)
{
if(isset($this->_rf[self::RF_DATA_BINDINGS]))
{
foreach($this->_rf[self::RF_DATA_BINDINGS] as $property=>$expression)
$this->setSubProperty($property,$this->evaluateExpression($expression));
- if($raiseOnDataBinding)
+ if($raiseDataBindingEvent)
$this->onDataBinding(null);
if(isset($this->_rf[self::RF_CONTROLS]))
{
foreach($this->_rf[self::RF_CONTROLS] as $control)
if($control instanceof TControl)
- $control->dataBind($raiseOnDataBinding);
+ $control->dataBind($raiseDataBindingEvent);
}
}
}