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])
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
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 )