summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TActiveLabel.php
diff options
context:
space:
mode:
authorwei <>2006-06-15 00:56:57 +0000
committerwei <>2006-06-15 00:56:57 +0000
commit67e09d150afe55d7a956beb299dc0534f7da68eb (patch)
tree793669c130d7cb17b56b75fb42fe1fac07c5fccc /framework/Web/UI/ActiveControls/TActiveLabel.php
parent469fe68e8a08330cb0ed8b56f758bee8d7c9445e (diff)
Update active controls. Add comments. Add THttpResponseAdapter
Diffstat (limited to 'framework/Web/UI/ActiveControls/TActiveLabel.php')
-rw-r--r--framework/Web/UI/ActiveControls/TActiveLabel.php16
1 files changed, 10 insertions, 6 deletions
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 <weizhuo[at]gmail[dot]com>
* @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();
}
/**