[ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TButtonColumn class file
Author: | Qiang Xue <qiang.xue@gmail.com> |
Copyright: | Copyright © 2005 PradoSoft |
License: | http://www.pradosoft.com/license/ |
Version: | $Id: TButtonColumn.php 1397 2006-09-07 07:55:53Z wei $ |
Poids: | 278 lignes (9 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
TButtonColumn:: (22 méthodes):
getText()
setText()
getDataTextField()
setDataTextField()
getDataTextFormatString()
setDataTextFormatString()
getImageUrl()
setImageUrl()
getDataImageUrlField()
setDataImageUrlField()
getDataImageUrlFormatString()
setDataImageUrlFormatString()
getButtonType()
setButtonType()
getCommandName()
setCommandName()
getCausesValidation()
setCausesValidation()
getValidationGroup()
setValidationGroup()
initializeCell()
dataBindColumn()
Classe: TButtonColumn - X-Ref
TButtonColumn classgetText() X-Ref |
return: string the text caption of the button |
setText($value) X-Ref |
Sets the text caption of the button. param: string the text caption to be set |
getDataTextField() X-Ref |
return: string the field name from the data source to bind to the button caption |
setDataTextField($value) X-Ref |
param: string the field name from the data source to bind to the button caption |
getDataTextFormatString() X-Ref |
return: string the formatting string used to control how the button caption will be displayed. |
setDataTextFormatString($value) X-Ref |
param: string the formatting string used to control how the button caption will be displayed. |
getImageUrl() X-Ref |
return: string the URL of the image file for image buttons |
setImageUrl($value) X-Ref |
param: string the URL of the image file for image buttons |
getDataImageUrlField() X-Ref |
return: string the field name from the data source to bind to the button image url |
setDataImageUrlField($value) X-Ref |
param: string the field name from the data source to bind to the button image url |
getDataImageUrlFormatString() X-Ref |
return: string the formatting string used to control how the button image url will be displayed. |
setDataImageUrlFormatString($value) X-Ref |
param: string the formatting string used to control how the button image url will be displayed. |
getButtonType() X-Ref |
return: TButtonColumnType the type of command button. Defaults to TButtonColumnType::LinkButton. |
setButtonType($value) X-Ref |
param: TButtonColumnType the type of command button |
getCommandName() X-Ref |
return: string the command name associated with the <b>OnCommand</b> event. |
setCommandName($value) X-Ref |
Sets the command name associated with the <b>Command</b> event. param: string the text caption to be set |
getCausesValidation() X-Ref |
return: boolean whether postback event trigger by this button will cause input validation, default is true |
setCausesValidation($value) X-Ref |
param: boolean whether postback event trigger by this button will cause input validation |
getValidationGroup() X-Ref |
return: string the group of validators which the button causes validation upon postback |
setValidationGroup($value) X-Ref |
param: string the group of validators which the button causes validation upon postback |
initializeCell($cell,$columnIndex,$itemType) X-Ref |
Initializes the specified cell to its initial values. This method overrides the parent implementation. It creates a command button within the cell. param: TTableCell the cell to be initialized. param: integer the index to the Columns property that the cell resides in. param: string the type of cell (Header,Footer,Item,AlternatingItem,EditItem,SelectedItem) |
dataBindColumn($sender,$param) X-Ref |
Databinds a cell in the column. This method is invoked when datagrid performs databinding. It populates the content of the cell with the relevant data from data source. |
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |