[ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TLinkButton class file
Author: | Qiang Xue <qiang.xue@gmail.com> |
Copyright: | Copyright © 2005 PradoSoft |
License: | http://www.pradosoft.com/license/ |
Version: | $Id: TLinkButton.php 1397 2006-09-07 07:55:53Z wei $ |
Poids: | 249 lignes (9 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
TLinkButton:: (17 méthodes):
getTagName()
addAttributesToRender()
getPostBackOptions()
renderContents()
getText()
setText()
getCommandName()
setCommandName()
getCommandParameter()
setCommandParameter()
getCausesValidation()
setCausesValidation()
getValidationGroup()
setValidationGroup()
raisePostBackEvent()
onClick()
onCommand()
Classe: TLinkButton - X-Ref
TLinkButton classgetTagName() X-Ref |
return: string tag name of the button |
addAttributesToRender($writer) X-Ref |
Adds attribute name-value pairs to renderer. This overrides the parent implementation with additional button specific attributes. param: THtmlWriter the writer used for the rendering purpose |
getPostBackOptions() X-Ref |
Returns postback specifications for the button. This method is used by framework and control developers. return: array parameters about how the button defines its postback behavior. |
renderContents($writer) X-Ref |
Renders the body content enclosed between the control tag. If {@link getText Text} is not empty, it will be rendered. Otherwise, the body content enclosed in the control tag will be rendered. param: THtmlWriter the writer used for the rendering purpose |
getText() X-Ref |
return: string the text caption of the button |
setText($value) X-Ref |
param: string the text caption to be set |
getCommandName() X-Ref |
return: string the command name associated with the {@link onCommand OnCommand} event. |
setCommandName($value) X-Ref |
param: string the command name associated with the {@link onCommand OnCommand} event. |
getCommandParameter() X-Ref |
return: string the parameter associated with the {@link onCommand OnCommand} event |
setCommandParameter($value) X-Ref |
param: string the parameter associated with the {@link onCommand OnCommand} event. |
getCausesValidation() X-Ref |
return: boolean whether postback event trigger by this button will cause input validation |
setCausesValidation($value) X-Ref |
Sets the value indicating whether postback event trigger by this button will cause input validation. param: string the text caption to be set |
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 |
raisePostBackEvent($param) X-Ref |
Raises the postback event. This method is required by {@link IPostBackEventHandler} interface. If {@link getCausesValidation CausesValidation} is true, it will invoke the page's {@link TPage::validate validate} method first. It will raise {@link onClick OnClick} and {@link onCommand OnCommand} events. This method is mainly used by framework and control developers. param: TEventParameter the event parameter |
onClick($param) X-Ref |
This method is invoked when the button is clicked. The method raises 'OnClick' event to fire up the event handlers. If you override this method, be sure to call the parent implementation so that the event handler can be invoked. param: TEventParameter event parameter to be passed to the event handlers |
onCommand($param) X-Ref |
This method is invoked when the button is clicked. The method raises 'OnCommand' event to fire up the event handlers. If you override this method, be sure to call the parent implementation so that the event handlers can be invoked. param: TCommandEventParameter event parameter to be passed to the event handlers |
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |