summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TButton.php
diff options
context:
space:
mode:
authorxue <>2006-04-17 22:10:49 +0000
committerxue <>2006-04-17 22:10:49 +0000
commitd813a484809142c5cce2e50bff0f805630cea7d9 (patch)
tree4c9e145601a3cdcc9bff4c2ff5f2cf8d53dc47e1 /framework/Web/UI/WebControls/TButton.php
parent0f2b34ef1ad76d94f43062f396b7a63e76051659 (diff)
TButton, TImageButton and TLinkButton now implement IButtonControl interface
Diffstat (limited to 'framework/Web/UI/WebControls/TButton.php')
-rw-r--r--framework/Web/UI/WebControls/TButton.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/framework/Web/UI/WebControls/TButton.php b/framework/Web/UI/WebControls/TButton.php
index 6751687c..72c68a2c 100644
--- a/framework/Web/UI/WebControls/TButton.php
+++ b/framework/Web/UI/WebControls/TButton.php
@@ -49,7 +49,7 @@
* @package System.Web.UI.WebControls
* @since 3.0
*/
-class TButton extends TWebControl implements IPostBackEventHandler
+class TButton extends TWebControl implements IPostBackEventHandler, IButtonControl
{
/**
* @return string tag name of the button
@@ -206,8 +206,7 @@ class TButton extends TWebControl implements IPostBackEventHandler
}
/**
- * Sets the command name associated with the {@link onCommand OnCommand} event.
- * @param string the text caption to be set
+ * @param string the command name associated with the {@link onCommand OnCommand} event.
*/
public function setCommandName($value)
{
@@ -223,8 +222,7 @@ class TButton extends TWebControl implements IPostBackEventHandler
}
/**
- * Sets the parameter associated with the {@link onCommand OnCommand} event.
- * @param string the text caption to be set
+ * @param string the parameter associated with the {@link onCommand OnCommand} event.
*/
public function setCommandParameter($value)
{