| [ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TLabel class file.
| Author: | Qiang Xue <qiang.xue@gmail.com> |
| Copyright: | Copyright © 2005 PradoSoft |
| License: | http://www.pradosoft.com/license/ |
| Version: | $Id: TLabel.php 1397 2006-09-07 07:55:53Z wei $ |
| Poids: | 129 lignes (3 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
TLabel:: (8 méthodes):
getTagName()
addAttributesToRender()
render()
renderContents()
getText()
setText()
getForControl()
setForControl()
| getTagName() X-Ref |
return: string tag name of the label, returns 'label' if there is an associated control, 'span' otherwise. |
| addAttributesToRender($writer) X-Ref |
| Adds attributes to renderer. param: THtmlWriter the renderer |
| render($writer) X-Ref |
| Renders the label. It overrides the parent implementation by checking if an associated control is visible or not. If not, the label will not be rendered. param: THtmlWriter writer |
| renderContents($writer) X-Ref |
| Renders the body content of the label. param: THtmlWriter the renderer |
| getText() X-Ref |
return: string the text value of the label |
| setText($value) X-Ref |
param: string the text value of the label |
| getForControl() X-Ref |
return: string the associated control ID |
| setForControl($value) X-Ref |
| Sets the ID of the control that the label is associated with. The control must be locatable via {@link TControl::findControl} using the ID. param: string the associated control ID |
| Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |