diff options
author | xue <> | 2006-01-20 04:20:39 +0000 |
---|---|---|
committer | xue <> | 2006-01-20 04:20:39 +0000 |
commit | 138dbc23381a82eaf17a2685cc3bdb54ad8b7f51 (patch) | |
tree | 273ff3e0fa183830178d8f51dff4643010baccd3 /framework/Web | |
parent | 381d966198453626832c97447deb54f9cc4b06dd (diff) |
Added TImage and THyperLink demos.
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/UI/WebControls/THyperLink.php | 2 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/TImage.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/THyperLink.php b/framework/Web/UI/WebControls/THyperLink.php index c47cc1c4..4992dfd3 100644 --- a/framework/Web/UI/WebControls/THyperLink.php +++ b/framework/Web/UI/WebControls/THyperLink.php @@ -72,7 +72,7 @@ class THyperLink extends TWebControl }
else
{
- $image=new TImage;
+ $image=Prado::createComponent('System.Web.UI.WebControls.TImage');
$image->setImageUrl($imageUrl);
if(($toolTip=$this->getToolTip())!=='')
$image->setToolTip($toolTip);
diff --git a/framework/Web/UI/WebControls/TImage.php b/framework/Web/UI/WebControls/TImage.php index 3f7b8f49..fa5f406f 100644 --- a/framework/Web/UI/WebControls/TImage.php +++ b/framework/Web/UI/WebControls/TImage.php @@ -17,7 +17,7 @@ * {@link setImageUrl ImageUrl} property which takes a relative or absolute
* URL to the image file. The alignment of the image displayed is set by
* the {@link setImageAlign ImageAlign} property. To set alternative texts
- * or long description of the image, use {@link setAlternativeText AlternativeText}
+ * or long description of the image, use {@link setAlternateText AlternateText}
* or {@link setDescriptionUrl DescriptionUrl} property, respectively.
*
* @author Qiang Xue <qiang.xue@gmail.com>
|