Показать файл
Открыть проект
Метод | Описание | |
---|---|---|
__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. | |
getCulture ( ) : string | Gets the current culture. | |
getData ( ) : integer | Returns the timestamp selected by the user. | |
getDate ( ) : string | ||
getDateFormat ( ) : string | ||
getOptions ( ) : |
Object containing defined javascript options | |
getTextMode ( ) : |
||
getTimeStamp ( ) : integer | ||
getValidEvents ( ) : array() | Array containing valid javascript events | |
getValidOptions ( ) : array() | Array containing valid javascript options | |
getValidationPropertyValue ( ) : integer | Returns the value to be validated. | |
getWidget ( ) : string | ||
getWidgetID ( ) : string | ||
setCulture ( $value ) | Sets the culture/language for the date picker. | |
setData ( $value ) | Sets the timestamp represented by this control. | |
setDate ( $value ) | ||
setDateFormat ( $value ) | Sets the format of the date string. | |
setTextMode ( $value ) | Setting the behavior mode of the underlying TTextBox component is NOT supported. | |
setTimeStamp ( $value ) | Sets the date for the date picker using timestamp. |
Метод | Описание | |
---|---|---|
addAttributesToRender ( $writer ) | Ensure that the ID attribute is rendered and registers the javascript code for initializing the active control. Also registers language specific global settings for the first used date picker. | |
getCurrentCulture ( ) : string | ||
getTimeStampFromText ( ) : integer | Gets the date from the text input using TSimpleDateFormatter |
public __construct ( ) |
protected addAttributesToRender ( $writer ) |
public getCulture ( ) : string | ||
Результат | string | current culture, e.g. en_AU. |
protected getCurrentCulture ( ) : string | ||
Результат | string | the current culture, falls back to application if culture is not set. |
public getDateFormat ( ) : string | ||
Результат | string | the format of the date string |
public getOptions ( ) : |
||
Результат |
public getTextMode ( ) : |
||
Результат | the behavior mode of the underlying {@link TTextBox} component. Fixed to TTextBoxMode::SingleLine for the TJuiDatePicker. |
public getTimeStamp ( ) : integer | ||
Результат | integer | current selected date from the date picker as timestamp, NULL if timestamp is not set previously. |
protected getTimeStampFromText ( ) : integer | ||
Результат | integer | current selected date timestamp |
public getValidEvents ( ) : array() | ||
Результат | array() |
public getValidOptions ( ) : array() | ||
Результат | array() |
public getValidationPropertyValue ( ) : integer | ||
Результат | integer | the interger timestamp if valid, otherwise the original text. |
public getWidgetID ( ) : string | ||
Результат | string | the clientid of the jQueryUI widget element |
public setCulture ( $value ) |
public setData ( $value ) |
public setTextMode ( $value ) |
public setTimeStamp ( $value ) |