summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TSlider.php
diff options
context:
space:
mode:
authorxue <>2007-09-04 12:31:47 +0000
committerxue <>2007-09-04 12:31:47 +0000
commiteca6dfe8322c5590aa9b847f2c32d60bb013aad2 (patch)
treeac9373ba9ccd86a3cd8cd734702f1b59b25b9f05 /framework/Web/UI/WebControls/TSlider.php
parent5b29d3ed8eeab8337df1dd55e3481a355145e2a2 (diff)
typo.
Diffstat (limited to 'framework/Web/UI/WebControls/TSlider.php')
-rw-r--r--framework/Web/UI/WebControls/TSlider.php16
1 files changed, 8 insertions, 8 deletions
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);
}
/**