PHP 인터페이스 Prado\Web\UI\IPostBackDataHandler

If a control wants to load post data, it must implement this interface.
부터: 3.0
저자: Qiang Xue ([email protected])
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
getDataChanged ( ) : boolean
loadPostData ( $key, $values ) : boolean Loads user input data.
raisePostDataChangedEvent ( ) Raises postdata changed event.

메소드 상세

getDataChanged() 공개 메소드

public getDataChanged ( ) : boolean
리턴 boolean whether postback causes the data change. Defaults to false for non-postback state.

loadPostData() 공개 메소드

The implementation of this function can use $values[$key] to get the user input data that are meant for the particular control.
public loadPostData ( $key, $values ) : boolean
리턴 boolean whether the data of the control has been changed

raisePostDataChangedEvent() 공개 메소드

The implementation of this function should raise appropriate event(s) (e.g. OnTextChanged) indicating the control data is changed.