From d813a484809142c5cce2e50bff0f805630cea7d9 Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 17 Apr 2006 22:10:49 +0000 Subject: TButton, TImageButton and TLinkButton now implement IButtonControl interface --- framework/Web/UI/WebControls/TImageButton.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'framework/Web/UI/WebControls/TImageButton.php') diff --git a/framework/Web/UI/WebControls/TImageButton.php b/framework/Web/UI/WebControls/TImageButton.php index 655b1df0..109f53a8 100644 --- a/framework/Web/UI/WebControls/TImageButton.php +++ b/framework/Web/UI/WebControls/TImageButton.php @@ -56,7 +56,7 @@ Prado::using('System.Web.UI.WebControls.TImage'); * @package System.Web.UI.WebControls * @since 3.0 */ -class TImageButton extends TImage implements IPostBackDataHandler, IPostBackEventHandler +class TImageButton extends TImage implements IPostBackDataHandler, IPostBackEventHandler, IButtonControl { /** * @var integer x coordinate that the image is being clicked at @@ -223,8 +223,7 @@ class TImageButton extends TImage implements IPostBackDataHandler, IPostBackEven } /** - * 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) { @@ -240,8 +239,7 @@ class TImageButton extends TImage implements IPostBackDataHandler, IPostBackEven } /** - * 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) { -- cgit v1.2.3