PHP Interface Prado\Web\UI\IPostBackDataHandler

If a control wants to load post data, it must implement this interface.
Since: 3.0
Author: Qiang Xue ([email protected])
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode Description
getDataChanged ( ) : boolean
loadPostData ( $key, $values ) : boolean Loads user input data.
raisePostDataChangedEvent ( ) Raises postdata changed event.

Method Details

getDataChanged() public méthode

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

loadPostData() public méthode

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
Résultat boolean whether the data of the control has been changed

raisePostDataChangedEvent() public méthode

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