| [ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TListItem class file
| Author: | Qiang Xue <qiang.xue@gmail.com> |
| Copyright: | Copyright © 2005 PradoSoft |
| License: | http://www.pradosoft.com/license/ |
| Version: | $Id: TListItem.php 1397 2006-09-07 07:55:53Z wei $ |
| Poids: | 185 lignes (4 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
TListItem:: (15 méthodes):
__construct()
getEnabled()
setEnabled()
getSelected()
setSelected()
getText()
setText()
getValue()
setValue()
getAttributes()
getHasAttributes()
hasAttribute()
getAttribute()
setAttribute()
removeAttribute()
| __construct($text='',$value='',$enabled=true,$selected=false) X-Ref |
| Constructor. param: string text of the item param: string value of the item param: boolean whether the item is enabled param: boolean whether the item is selected |
| getEnabled() X-Ref |
return: boolean whether the item is enabled |
| setEnabled($value) X-Ref |
param: boolean whether the item is enabled |
| getSelected() X-Ref |
return: boolean whether the item is selected |
| setSelected($value) X-Ref |
param: boolean whether the item is selected |
| getText() X-Ref |
return: string text of the item |
| setText($value) X-Ref |
param: string text of the item |
| getValue() X-Ref |
return: string value of the item |
| setValue($value) X-Ref |
param: string value of the item |
| getAttributes() X-Ref |
return: TAttributeCollection custom attributes |
| getHasAttributes() X-Ref |
return: boolean whether the item has any custom attribute |
| hasAttribute($name) X-Ref |
param: string name of the attribute return: boolean whether the named attribute exists |
| getAttribute($name) X-Ref |
return: string the named attribute value, null if attribute does not exist |
| setAttribute($name,$value) X-Ref |
param: string attribute name param: string value of the attribute |
| removeAttribute($name) X-Ref |
| Removes the named attribute. param: string the name of the attribute to be removed. return: string attribute value removed, empty string if attribute does not exist. |
| Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |