From 67e09d150afe55d7a956beb299dc0534f7da68eb Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 15 Jun 2006 00:56:57 +0000 Subject: Update active controls. Add comments. Add THttpResponseAdapter --- framework/Web/UI/ActiveControls/TActiveLabel.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'framework/Web/UI/ActiveControls/TActiveLabel.php') diff --git a/framework/Web/UI/ActiveControls/TActiveLabel.php b/framework/Web/UI/ActiveControls/TActiveLabel.php index fd2d49b8..c1cb1fba 100644 --- a/framework/Web/UI/ActiveControls/TActiveLabel.php +++ b/framework/Web/UI/ActiveControls/TActiveLabel.php @@ -13,11 +13,12 @@ /** * TActiveLabel class * - * The active control counterpart of TLabel component. During a callback - * request, setting {@link setText Text} property will also set the text of the - * label on the client upon callback completion. Similarly, setting {@link - * setForControl ForControl} will set the client-side for attribute on the - * label. + * The active control counterpart of TLabel component. When + * {@link TBaseActiveControl::setEnableUpdate ActiveControl.EnableUpdate} + * property is true the during a callback request, setting {@link setText Text} + * property will also set the text of the label on the client upon callback + * completion. Similarly, setting {@link setForControl ForControl} will also set + * the client-side "for" attribute on the label. * * @author Wei Zhuo * @version $Revision: $ $Date: $ @@ -37,9 +38,12 @@ class TActiveLabel extends TLabel $this->setAdapter(new TActiveControlAdapter($this)); } + /** + * @return TBaseActiveControl basic active control options. + */ public function getActiveControl() { - return $this->getAdapter()->getActiveControl(); + return $this->getAdapter()->getBaseActiveControl(); } /** -- cgit v1.2.3