Méthode | Description | |
---|---|---|
__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 ( ) : |
||
getLabelAttributes ( ) : TMap | Overrides parent implementation to ensure label has ID. | |
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. | |
setChecked ( $value ) | Sets a value indicating whether the checkbox is to be checked or not. | |
setText ( $value ) | Updates the button text on the client-side if the {@link setEnableUpdate EnableUpdate} property is set to true. |
Méthode | Description | |
---|---|---|
getClientClassName ( ) : string | ||
getDefaultLabelID ( ) : string | ||
renderClientControlScript ( $writer ) | Override parent implementation, no javascript is rendered here instead the javascript required for active control is registered in {@link addAttributesToRender}. | |
renderInputTag ( $writer, $clientID, $onclick ) | Ensure that the ID attribute is rendered and registers the javascript code for initializing the active control. | |
renderLabel ( $writer, $clientID, $text ) | Renders a label beside the checkbox. |
public __construct ( ) |
public getActiveControl ( ) : |
||
Résultat | standard callback control options. |
protected getClientClassName ( ) : string | ||
Résultat | string | corresponding javascript class name for this TActiveCheckBox. |
public getClientSide ( ) : |
||
Résultat | client side request options. |
protected getDefaultLabelID ( ) : string | ||
Résultat | string | checkbox label ID; |
public getLabelAttributes ( ) : TMap | ||
Résultat | TMap | list of attributes to be rendered for label beside the checkbox |
public onCallback ( $param ) |
public raiseCallbackEvent ( $param ) |
protected renderClientControlScript ( $writer ) |
protected renderInputTag ( $writer, $clientID, $onclick ) |
protected renderLabel ( $writer, $clientID, $text ) |
public setChecked ( $value ) |
public setText ( $value ) |