Метод | Описание | |
---|---|---|
__construct ( ) | Creates a new callback control, sets the adapter to TActiveControlAdapter. 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 ICallbackEventHandlerICallbackEventHandler} interface. If {@link getCausesValidation CausesValidation} is true, it will invoke the page's {@link TPage::validate validate} method first. It will raise {@link onClick OnClick} event first and then the {@link onCallback OnCallback} event. | |
setEnabled ( $value ) | Ensures that the anchor is rendered correctly when its Enabled property changes in a callback | |
setText ( $value ) | Updates the link text on the client-side if the {@link setEnableUpdate EnableUpdate} property is set to true. |
Метод | Описание | |
---|---|---|
addAttributesToRender ( $writer ) | Ensure that the ID attribute is rendered and registers the javascript code for initializing the active control. | |
getClientClassName ( ) : string | ||
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 ) |
public getActiveControl ( ) : |
||
Результат | standard callback control options. |
protected getClientClassName ( ) : string | ||
Результат | string | corresponding javascript class name for this TActiveLinkButton. |
public getClientSide ( ) : |
||
Результат | client side request options. |
public onCallback ( $param ) |
public raiseCallbackEvent ( $param ) |
protected renderClientControlScript ( $writer ) |
public setEnabled ( $value ) |
public setText ( $value ) |