\Hazaar\View\Widgets
DateTimeInput

Basic button widget.

Tags

Since

1.1

Summary
Methods Properties Constants
val
No constants
Properties
Inherited
$element
$element
Inherited
$name
$name
Inherited
$script
$script
Methods
__construct()
__construct($name, $value = null, $params = Array ( ) )

Initialise a DateTimeInput widget

Parameters

$namestring

The name (ID) of the widget to create.

$valuestring

The initial value of the input.

$params

No description

animationType()
animationType($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the type of the animation.

Possible Values:

  • ‘fade’
  • ‘slide’
  • ‘none’

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
clearString()
clearString($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the ‘Clear’ string displayed when the ‘showFooter’ property is true.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
close()
close() : \\Hazaar\\Widgets\\DateTimeInput

After calling this method, the popup calendar will be hidden.

Tags

Since

1.1

closeCalendarAfterSelection()
closeCalendarAfterSelection($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets whether or not the popup calendar must be closed after selection.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
closeDelay()
closeDelay($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the delay of the ‘close’ animation.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
culture()
culture($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the jqxDateTimeInput’s culture. The culture settings are contained within a file with the language code appended to the name, e.g. jquery.glob.de-DE.js for German. To set the culture, you need to include the jquery.glob.de-DE.js and set the culture property to the culture’s name, e.g. ‘de-DE’.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
dropDownHorizontalAlignment()
dropDownHorizontalAlignment($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets the DropDown’s alignment.

Possible Values:

  • ‘left’
  • right’

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
enableAbsoluteSelection()
enableAbsoluteSelection($value) : \\Hazaar\\Widgets\\DateTimeInput

DESCRIPTION

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
enableBrowserBoundsDetection()
enableBrowserBoundsDetection($value) : \\Hazaar\\Widgets\\DateTimeInput

When this property is set to true, the popup calendar may open above the input, if there’s not enough space below the DateTimeInput.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
firstDayOfWeek()
firstDayOfWeek($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets which day to display in the first day column. By default the calendar displays ‘Sunday’ as first day.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
formatString()
formatString($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the date time input format of the date.

Possible Values:

  • ‘d’-the day of the month
  • ‘dd’-the day of the month
  • ‘ddd’-the abbreviated name of the day of the week
  • ‘dddd’-the full name of the day of the week
  • ‘h’-the hour, using a 12-hour clock from 1 to 12
  • ‘hh’-the hour, using a 12-hour clock from 01 to 12
  • ‘H’-the hour, using a 24-hour clock from 0 to 23
  • ‘HH’-the hour, using a 24-hour clock from 00 to 23
  • ‘m’-the minute, from 0 through 59
  • ‘mm’-the minutes,from 00 though59
  • ‘M’-the month, from 1 through 12;
  • ‘MM’-the month, from 01 through 12
  • MMM’-the abbreviated name of the month
  • MMMM’-the full name of the month
  • ‘s’-the second, from 0 through 59
  • ‘ss’-the second, from 00 through 59
  • ‘t’-the first character of the AM/PM designator
  • ‘tt’-the AM/PM designator
  • ‘y’-the year, from 0 to 99
  • ‘yy’-the year, from 00 to 99
  • ‘yyy’-the year, with a minimum of three digits
  • ‘yyyy’-the year as a four-digit number

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
getDate()
getDate() : \\Hazaar\\Widgets\\DateTimeInput

When the getDate method is called, the user gets the current date. The returned value is JavaScript Date Object.

Tags

Since

1.1

getMaxDate()
getMaxDate() : \\Hazaar\\Widgets\\DateTimeInput

When the setMaxDate method is called, the user gets the maximum navigation date. The returned value is JavaScript Date Object.

Tags

Since

1.1

getMinDate()
getMinDate() : \\Hazaar\\Widgets\\DateTimeInput

When the getMinDate method is called, the user gets the minimum navigation date. The returned value is JavaScript Date Object.

Tags

Since

1.1

getRange()
getRange() : \\Hazaar\\Widgets\\DateTimeInput

Gets the selection range when the selectionMode is set to ‘range’. The returned value is an Object with “from” and “to” fields. Each of the fields is a JavaScript Date Object.

Tags

Since

1.1

getText()
getText() : \\Hazaar\\Widgets\\DateTimeInput

Returns the input field’s text.

Tags

Since

1.1

hideDelay()
hideDelay($value) : \\Hazaar\\Widgets\\DateTimeInput

Specifies the animation duration of the popup calendar when it is going to be hidden.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
maxDate()
maxDate($date) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the jqxDateTimeInput’s maximum date.

Tags

Since

1.1

Parameters

$date

No description

Returns

\\Hazaar\\Widgets\\DateTimeInput
minDate()
minDate($date) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the jqxDateTimeInput’s minumun date.

Tags

Since

1.1

Parameters

$date

No description

Returns

\\Hazaar\\Widgets\\DateTimeInput
onChange()
onChange($code) : \\Hazaar\\Widgets\\DateTimeInput

This event is triggered when the value is changed.

Tags

Since

1.1

Parameters

$code

No description

Returns

\\Hazaar\\Widgets\\DateTimeInput
onClose()
onClose($code) : \\Hazaar\\Widgets\\DateTimeInput

This event is triggered when the popup calendar is closed.

Tags

Since

1.1

Parameters

$code

No description

Returns

\\Hazaar\\Widgets\\DateTimeInput
onOpen()
onOpen($code) : \\Hazaar\\Widgets\\DateTimeInput

This event is triggered when the popup calendar is opened.

Tags

Since

1.1

Parameters

$code

No description

Returns

\\Hazaar\\Widgets\\DateTimeInput
onTextchanged()
onTextchanged($code) : \\Hazaar\\Widgets\\DateTimeInput

This event is triggered on blur when the value is changed .

Tags

Since

1.1

Parameters

$code

No description

Returns

\\Hazaar\\Widgets\\DateTimeInput
onValuechanged()
onValuechanged($code) : \\Hazaar\\Widgets\\DateTimeInput

This setting enables the user to select only one symbol at a time when typing into the text input field.

Tags

Since

1.1

Parameters

$code

No description

Returns

\\Hazaar\\Widgets\\DateTimeInput
open()
open() : \\Hazaar\\Widgets\\DateTimeInput

After calling this method, the popup calendar will be displayed.

Tags

Since

1.1

openDelay()
openDelay($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the delay of the ‘open’ animation.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
popupZIndex()
popupZIndex($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the popup’s z-index.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
readonly()
readonly($value) : \\Hazaar\\Widgets\\DateTimeInput

Set the readonly property .

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
selectionMode()
selectionMode($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the dropdown calendar’s selection mode.

Possible Values:

  • ‘none’
  • ‘default’
  • ‘range’

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
setDate()
setDate($date) : \\Hazaar\\Widgets\\DateTimeInput

When the setDate method is called, the user sets the date. The required parameter is a JavaScript Date Object.

Tags

Since

1.1

Parameters

$date

No description

Returns

\\Hazaar\\Widgets\\DateTimeInput
setMaxDate()
setMaxDate($date) : \\Hazaar\\Widgets\\DateTimeInput

When the setMaxDate method is called, the user sets the maximum date to which it is possible to navigate.

Tags

Since

1.1

Parameters

$date

No description

Returns

\\Hazaar\\Widgets\\DateTimeInput
setMinDate()
setMinDate($date) : \\Hazaar\\Widgets\\DateTimeInput

When the setMinDate method is called, the user sets the minimum date to which it is possible to navigate.

Tags

Since

1.1

Parameters

$date

No description

Returns

\\Hazaar\\Widgets\\DateTimeInput
setRange()
setRange($start, $end) : \\Hazaar\\Widgets\\DateTimeInput

Sets the selection range when the selectionMode is set to ‘range’. The required parameters are JavaScript Date Objects.

Tags

Since

1.1

Parameters

$start

No description

$end

No description

Returns

\\Hazaar\\Widgets\\DateTimeInput
showCalendarButton()
showCalendarButton($value) : \\Hazaar\\Widgets\\DateTimeInput

Determines whether the “showCalendarButton” is visible.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
showDelay()
showDelay($value) : \\Hazaar\\Widgets\\DateTimeInput

Specifies the animation duration of the popup calendar when it is going to be displayed.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
showFooter()
showFooter($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets a value indicating whether the dropdown calendar’s footer is displayed.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
showWeekNumbers()
showWeekNumbers($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets a value whether the week`s numbers are displayed.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
textAlign()
textAlign($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the position of the text.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
todayString()
todayString($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the ‘Today’ string displayed in the dropdown Calendar when the ‘showFooter’ property is true.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput
val()
val($value = null) : \\Hazaar\\Widgets\\DateTimeInput

Invoke the val method.

Tags

Since

1.1

Parameters

$value

No description

Returns

\\Hazaar\\Widgets\\DateTimeInput
value()
value($value) : \\Hazaar\\Widgets\\DateTimeInput

Sets or gets the jqxDateTimeInput value.

Tags

Since

1.1

Parameters

$valuestring

The value to set

Returns

\\Hazaar\\Widgets\\DateTimeInput