Метод | Описание | |
---|---|---|
__construct ( |
Constructor, trap errors and exception to let the callback response handle them. | |
getCallbackClientHandler ( ) : |
Gets the callback client script handler. It handlers the javascript functions to be executed during the callback response. | |
getCallbackEventParameter ( ) : string | Gets callback parameter. | |
getCallbackEventTarget ( ) : |
||
processCallbackEvent ( $writer ) | Process the callback request. | |
registerControlToRender ( $control, $writer ) | Register a control for defered render() call. | |
renderCallbackResponse ( $writer ) | Render the callback response. | |
setCallbackEventParameter ( $value ) | ||
setCallbackEventTarget ( |
Registers a control to raise callback event in the current request. |
Метод | Описание | |
---|---|---|
redirect ( $url ) | Redirect url on the client-side using javascript. | |
renderResponse ( $writer ) | Renders the callback response by adding additional callback data and javascript actions in the header and page state if required. | |
trapCallbackErrorsExceptions ( ) | Trap errors and exceptions to be handled by TCallbackErrorHandler. |
Метод | Описание | |
---|---|---|
appendContentPart ( $response, $delimiter, $data ) | Appends data or javascript code to the body content surrounded with delimiters | |
raiseCallbackEvent ( ) | Trys to find the callback event handler and raise its callback event. |
public __construct ( |
||
$control |
public getCallbackClientHandler ( ) : |
||
Результат | callback client handler. |
public getCallbackEventParameter ( ) : string | ||
Результат | string | postback event parameter |
public getCallbackEventTarget ( ) : |
||
Результат | the control responsible for the current callback event, null if nonexistent |
public processCallbackEvent ( $writer ) |
protected redirect ( $url ) |
public registerControlToRender ( $control, $writer ) |
public renderCallbackResponse ( $writer ) |
protected renderResponse ( $writer ) |
public setCallbackEventTarget ( |
||
$control |
protected trapCallbackErrorsExceptions ( ) |