diff options
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 |