From abc5bbd9c771dcecfa41ba3590cce1c1ef190cdd Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 15 Jan 2006 11:04:00 +0000 Subject: --- framework/Web/UI/WebControls/TLabel.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'framework/Web/UI/WebControls') 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 -- cgit v1.2.3