Метод | Описание | |
---|---|---|
__construct ( ) | Creates a new callback control, sets the adapter to TActiveListControlAdapter. If you override this class, be sure to set the adapter appropriately by, for example, by calling this constructor. | |
getActiveControl ( ) : |
||
getClientSide ( ) : |
||
onCallback ( $param ) | This method is invoked when a callback is requested. The method raises 'OnCallback' event to fire up the event handlers. If you override this method, be sure to call the parent implementation so that the event handler can be invoked. | |
raiseCallbackEvent ( $param ) | Raises the callback event. This method is required by {@link ICallbackEventHandler} interface. |
Метод | Описание | |
---|---|---|
addAttributesToRender ( $writer ) | Ensure that the ID attribute is rendered and registers the javascript code for initializing the active control. | |
createRepeatedControl ( ) : TControl | Creates a control used for repetition (used as a template). | |
getClientClassName ( ) : string | Gets the name of the javascript class responsible for performing postback for this control. | |
getSpanNeeded ( ) : boolean | Since at least a control with id is needed to update the content during callback, always force the surrounding span to be rendered, so initially empty lists can be updated later. | |
renderClientControlScript ( $writer ) | Override parent implementation, no javascript is rendered here instead the javascript required for active control is registered in {@link addAttributesToRender}. |
public __construct ( ) |
protected addAttributesToRender ( $writer ) |
protected createRepeatedControl ( ) : TControl | ||
Результат | TControl | the control to be repeated |
public getActiveControl ( ) : |
||
Результат | standard callback control options. |
protected getClientClassName ( ) : string | ||
Результат | string | the javascript class name |
public getClientSide ( ) : |
||
Результат | client side request options. |
protected getSpanNeeded ( ) : boolean | ||
Результат | boolean | always true |
public onCallback ( $param ) |
public raiseCallbackEvent ( $param ) |
protected renderClientControlScript ( $writer ) |