[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/Web/UI/WebControls/ -> THyperLink.php (sommaire)

THyperLink class file.

Author: Qiang Xue <qiang.xue@gmail.com>
Copyright: Copyright © 2004-2005, Qiang Xue
License: http://www.opensource.org/licenses/bsd-license.php BSD License
Version: $Id: THyperLink.php 1397 2006-09-07 07:55:53Z wei $
Poids: 150 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

THyperLink:: (11 méthodes):
  getTagName()
  addAttributesToRender()
  renderContents()
  getText()
  setText()
  getImageUrl()
  setImageUrl()
  getNavigateUrl()
  setNavigateUrl()
  getTarget()
  setTarget()


Classe: THyperLink  - X-Ref

THyperLink class

THyperLink displays a hyperlink on a page. The hyperlink URL is specified
via the {@link setNavigateUrl NavigateUrl} property, and link text is via
the {@link setText Text} property. It is also possible to display an image
by setting the {@link setImageUrl ImageUrl} property. In this case,
{@link getText Text} is displayed as the alternate text of the image.
The link target is specified via the {@link setTarget Target} property.
If both {@link getImageUrl ImageUrl} and {@link getText Text} are empty,
the content enclosed within the control tag will be rendered.

getTagName()   X-Ref

return: string tag name of the hyperlink

addAttributesToRender($writer)   X-Ref
Adds attributes related to a hyperlink element to renderer.

param: THtmlWriter the writer used for the rendering purpose

renderContents($writer)   X-Ref
Renders the body content of the hyperlink.

param: THtmlWriter the writer for rendering

getText()   X-Ref

return: string the text caption of the THyperLink

setText($value)   X-Ref
Sets the text caption of the THyperLink.

param: string the text caption to be set

getImageUrl()   X-Ref

return: string the location of the image file for the THyperLink

setImageUrl($value)   X-Ref
Sets the location of image file of the THyperLink.

param: string the image file location

getNavigateUrl()   X-Ref

return: string the URL to link to when the THyperLink component is clicked.

setNavigateUrl($value)   X-Ref
Sets the URL to link to when the THyperLink component is clicked.

param: string the URL

getTarget()   X-Ref

return: string the target window or frame to display the Web page content linked to when the THyperLink component is clicked.

setTarget($value)   X-Ref
Sets the target window or frame to display the Web page content linked to when the THyperLink component is clicked.

param: string the target window, valid values include '_blank', '_parent', '_self', '_top' and empty string.



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7