PHP Интерфейс 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}.
С версии: 3.0
Автор: Qiang Xue ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
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 )

Описание методов

getCausesValidation() публичный Метод

public getCausesValidation ( ) : boolean
Результат boolean whether postback event trigger by this button will cause input validation

getCommandName() публичный Метод

public getCommandName ( ) : string
Результат string the command name associated with the {@link onCommand OnCommand} event.

getCommandParameter() публичный Метод

public getCommandParameter ( ) : string
Результат string the parameter associated with the {@link onCommand OnCommand} event

getIsDefaultButton() публичный Метод

public getIsDefaultButton ( ) : boolean
Результат boolean true if this button is registered as a default button for a panel.

getText() публичный Метод

public getText ( ) : string
Результат string caption of the button

getValidationGroup() публичный Метод

public getValidationGroup ( ) : string
Результат string the group of validators which the button causes validation upon postback

onClick() публичный Метод

Raises OnClick event.
public onClick ( $param )

onCommand() публичный Метод

Raises OnCommand event.
public onCommand ( $param )

setCausesValidation() публичный Метод

public setCausesValidation ( $value )

setCommandName() публичный Метод

public setCommandName ( $value )

setCommandParameter() публичный Метод

public setCommandParameter ( $value )

setIsDefaultButton() публичный Метод

public setIsDefaultButton ( $value )

setText() публичный Метод

public setText ( $value )

setValidationGroup() публичный Метод

public setValidationGroup ( $value )