From 95f302ce4fbf3d923b52131495a77ef41b37e8c5 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 7 Sep 2007 13:34:10 +0000 Subject: Added support of TDataGrid to allow grouping consecutive cells with the same content. --- framework/Web/UI/WebControls/THyperLink.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'framework/Web/UI/WebControls/THyperLink.php') diff --git a/framework/Web/UI/WebControls/THyperLink.php b/framework/Web/UI/WebControls/THyperLink.php index 13a9ab41..0287029f 100644 --- a/framework/Web/UI/WebControls/THyperLink.php +++ b/framework/Web/UI/WebControls/THyperLink.php @@ -145,27 +145,27 @@ class THyperLink extends TWebControl implements IDataRenderer /** * Returns the URL to link to when the THyperLink component is clicked. * This method is required by {@link IDataRenderer}. - * It is the same as {@link getNavigateUrl()}. - * @return string the URL to link to when the THyperLink component is clicked - * @see getNavigateUrl + * It is the same as {@link getText()}. + * @return string the text caption + * @see getText * @since 3.1.0 */ public function getData() { - return $this->getNavigateUrl(); + return $this->getText(); } /** * Sets the URL to link to when the THyperLink component is clicked. * This method is required by {@link IDataRenderer}. - * It is the same as {@link setNavigateUrl()}. - * @param string the URL to link to when the THyperLink component is clicked - * @see setNavigateUrl + * It is the same as {@link setText()}. + * @param string the text caption to be set + * @see setText * @since 3.1.0 */ public function setData($value) { - $this->setNavigateUrl($value); + $this->setText($value); } /** -- cgit v1.2.3