Class \Prado\Web\UI\JuiControls\TJuiDatePicker
TJuiDatePicker class.
TJuiDatePicker is a textbox that provides a date input. When the text box receives focus, a calendar will pop up and users can pick up from it a date that will be automatically entered into the text box. TJuiDatePicker is an extension to TActivePanel based on jQuery-UI's Dialog widget.
<com:TJuiDatePicker ID="datepicker1" />
Class hierarchy
- \Prado\Web\UI\JuiControls\TJuiDatePicker implements INamingContainer, IJuiOptions
- \Prado\Web\UI\ActiveControls\TActiveTextBox implements IActiveControl, ICallbackEventHandler
- \Prado\Web\UI\WebControls\TTextBox implements IPostBackDataHandler, IValidatable, IDataRenderer
- \Prado\Web\UI\WebControls\TWebControl implements IStyleable
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.3
public
|
__construct() : mixed
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.
|
public
|
|
public
|
getData() : int
Returns the timestamp selected by the user.
This method is required by IDataRenderer. It is the same as getTimeStamp(). |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
getValidationPropertyValue() : int
Returns the value to be validated.
This methid is required by IValidatable interface. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
setData(int $value) : mixed
Sets the timestamp represented by this control.
This method is required by IDataRenderer. It is the same as setTimeStamp(). |
public
|
|
public
|
|
public
|
setTextMode(TTextBoxMode $value) : mixed
Setting the behavior mode of the underlying TTextBox component is NOT supported.
|
public
|
|
protected
|
addAttributesToRender(mixed $writer) : mixed
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.
|
protected
|
|
protected
|