PHP Interface Prado\Web\UI\IButtonControl

IButtonControl specifies the common properties and events that must be implemented by a button control, such as {@link TButton}, {@link TLinkButton}, {@link TImageButton}.
Since: 3.0
Author: Qiang Xue ([email protected])
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode Description
getCausesValidation ( ) : boolean
getCommandName ( ) : string
getCommandParameter ( ) : string
getIsDefaultButton ( ) : boolean
getText ( ) : string
getValidationGroup ( ) : string
onClick ( $param ) Raises OnClick event.
onCommand ( $param ) Raises OnCommand event.
setCausesValidation ( $value )
setCommandName ( $value )
setCommandParameter ( $value )
setIsDefaultButton ( $value )
setText ( $value )
setValidationGroup ( $value )

Method Details

getCausesValidation() public méthode

public getCausesValidation ( ) : boolean
Résultat boolean whether postback event trigger by this button will cause input validation

getCommandName() public méthode

public getCommandName ( ) : string
Résultat string the command name associated with the {@link onCommand OnCommand} event.

getCommandParameter() public méthode

public getCommandParameter ( ) : string
Résultat string the parameter associated with the {@link onCommand OnCommand} event

getIsDefaultButton() public méthode

public getIsDefaultButton ( ) : boolean
Résultat boolean true if this button is registered as a default button for a panel.

getText() public méthode

public getText ( ) : string
Résultat string caption of the button

getValidationGroup() public méthode

public getValidationGroup ( ) : string
Résultat string the group of validators which the button causes validation upon postback

onClick() public méthode

Raises OnClick event.
public onClick ( $param )

onCommand() public méthode

Raises OnCommand event.
public onCommand ( $param )

setCausesValidation() public méthode

public setCausesValidation ( $value )

setCommandName() public méthode

public setCommandName ( $value )

setCommandParameter() public méthode

public setCommandParameter ( $value )

setIsDefaultButton() public méthode

public setIsDefaultButton ( $value )

setText() public méthode

public setText ( $value )

setValidationGroup() public méthode

public setValidationGroup ( $value )