summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TSlider.php
diff options
context:
space:
mode:
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);
}
/**