Метод | Описание | |
---|---|---|
__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 ( ) : |
||
getAutoPostBack ( ) : boolean | ||
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. | |
setAutoPostBack ( $value ) | Sets the value indicating if postback automatically. | |
setText ( $value ) | Client-side Text property can only be updated after the OnLoad stage. |
Метод | Описание | |
---|---|---|
createClientScript ( ) : |
||
getDatePickerOptions ( ) : array | Get javascript date picker options. | |
registerCalendarClientScriptPre ( ) | Registers the javascript code to initialize the date picker. | |
renderClientControlScript ( $writer ) |
public __construct ( ) |
protected createClientScript ( ) : |
||
Результат | javascript validator event options. |
public getActiveControl ( ) : |
||
Результат | standard callback control options. |
public getAutoPostBack ( ) : boolean | ||
Результат | boolean | a value indicating whether an automatic postback to the server will occur whenever the user modifies the text in the TActiveDatePicker control and then tabs out of the component. Defaults to true. |
protected getDatePickerOptions ( ) : array | ||
Результат | array | date picker client-side options |
public onCallback ( $param ) |
public raiseCallbackEvent ( $param ) |
protected registerCalendarClientScriptPre ( ) |
public setAutoPostBack ( $value ) |
public setText ( $value ) |