diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-25 20:04:57 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-25 20:04:57 +0100 |
commit | e4999b25052d1ad9400a0f9fd5289a49eea1bddc (patch) | |
tree | 50e9b819fc3326cf08e882b648f8dafc8fec3fa4 /framework/Web/UI/WebControls/THyperLink.php | |
parent | 5230f8f8a86fc1ae5d90f8c74ae65c93e197502b (diff) |
More namespace changes
Changed version to 3.2.99;
Attempt at fixing autoloading
fixed enough namespaces to have some demos running
Diffstat (limited to 'framework/Web/UI/WebControls/THyperLink.php')
-rw-r--r-- | framework/Web/UI/WebControls/THyperLink.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/framework/Web/UI/WebControls/THyperLink.php b/framework/Web/UI/WebControls/THyperLink.php index 44ba9e41..f265e722 100644 --- a/framework/Web/UI/WebControls/THyperLink.php +++ b/framework/Web/UI/WebControls/THyperLink.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\THttpUtility; /** * THyperLink class @@ -30,7 +31,7 @@ namespace Prado\Web\UI\WebControls; * @package Prado\Web\UI\WebControls * @since 3.0 */ -class THyperLink extends TWebControl implements IDataRenderer +class THyperLink extends \Prado\Web\UI\WebControls\TWebControl implements \Prado\IDataRenderer { /** * @return string tag name of the hyperlink @@ -85,7 +86,7 @@ class THyperLink extends TWebControl implements IDataRenderer */ protected function createImage($imageUrl) { - $image=Prado::createComponent('System.Web.UI.WebControls.TImage'); + $image=Prado::createComponent('\\Prado\\Web\\UI\\WebControls\\TImage'); $image->setImageUrl($imageUrl); if(($width=$this->getImageWidth())!=='') $image->setWidth($width); @@ -208,7 +209,7 @@ 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}. + * This method is required by {@link \Prado\IDataRenderer}. * It is the same as {@link getText()}. * @return string the text caption * @see getText @@ -221,7 +222,7 @@ class THyperLink extends TWebControl implements IDataRenderer /** * Sets the URL to link to when the THyperLink component is clicked. - * This method is required by {@link IDataRenderer}. + * This method is required by {@link \Prado\IDataRenderer}. * It is the same as {@link setText()}. * @param string the text caption to be set * @see setText |