PHP Интерфейс Prado\Web\UI\IPostBackDataHandler

If a control wants to load post data, it must implement this interface.
С версии: 3.0
Автор: Qiang Xue ([email protected])
Показать файл Открыть проект

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

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