diff options
author | wei <> | 2006-01-15 11:04:00 +0000 |
---|---|---|
committer | wei <> | 2006-01-15 11:04:00 +0000 |
commit | abc5bbd9c771dcecfa41ba3590cce1c1ef190cdd (patch) | |
tree | 45884a9f15efb190144165d50f79bab6fa914494 /framework/Web/UI/WebControls/TLabel.php | |
parent | 5af330b442f15be0f0535a9e3c053b8e6eb5a202 (diff) |
Diffstat (limited to 'framework/Web/UI/WebControls/TLabel.php')
-rw-r--r-- | framework/Web/UI/WebControls/TLabel.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TLabel.php b/framework/Web/UI/WebControls/TLabel.php index 5a53def4..51e990d2 100644 --- a/framework/Web/UI/WebControls/TLabel.php +++ b/framework/Web/UI/WebControls/TLabel.php @@ -101,6 +101,16 @@ class TLabel extends TWebControl {
$this->setViewState('AssociatedControlID',$value,'');
}
+
+ public function setFor($value)
+ {
+ $this->setAssociatedControlID($value);
+ }
+
+ public function getFor()
+ {
+ return $this->getAssociatedControlID();
+ }
}
?>
\ No newline at end of file |