From eca6dfe8322c5590aa9b847f2c32d60bb013aad2 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Tue, 4 Sep 2007 12:31:47 +0000
Subject: typo.

---
 framework/Web/UI/WebControls/TSlider.php | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

(limited to 'framework')

diff --git a/framework/Web/UI/WebControls/TSlider.php b/framework/Web/UI/WebControls/TSlider.php
index 2865f3e7..094dbd5b 100644
--- a/framework/Web/UI/WebControls/TSlider.php
+++ b/framework/Web/UI/WebControls/TSlider.php
@@ -168,27 +168,27 @@ class TSlider extends TWebControl implements IPostBackDataHandler, IDataRenderer
 	}
 
 	/**
-	 * Returns the text content of the TTextBox control.
+	 * Returns the value of the TSlider control.
 	 * This method is required by {@link IDataRenderer}.
-	 * It is the same as {@link getText()}.
-	 * @return string the text content of the TTextBox control.
+	 * It is the same as {@link getValue()}.
+	 * @return string the value of the TSlider control.
 	 * @see getValue
 	 */
 	public function getData()
 	{
-		return $this->getText();
+		return $this->getValue();
 	}
 
 	/**
-	 * Sets the text content of the TTextBox control.
+	 * Sets the value of the TSlider control.
 	 * This method is required by {@link IDataRenderer}.
-	 * It is the same as {@link setText()}.
-	 * @param string the text content of the TTextBox control.
+	 * It is the same as {@link setValue()}.
+	 * @param string the value of the TSlider control.
 	 * @see setValue
 	 */
 	public function setData($value)
 	{
-		$this->setText($value);
+		$this->setValue($value);
 	}
 
 	/**
-- 
cgit v1.2.3