Overview

Packages

  • Actions
  • Codegen
  • Controls
    • Base
  • DatabaseAdapters
  • Events
  • None
  • Sessions
  • Tests

Classes

  • QAccordionBase
  • QAccordionGen
  • QAutocompleteBase
  • QAutocompleteGen
  • QDatepickerBase
  • QDatepickerBoxBase
  • QDatepickerBoxGen
  • QDatepickerGen
  • QDialogBase
  • QDialogGen
  • QDraggableBase
  • QDraggableGen
  • QDroppableBase
  • QDroppableGen
  • QFieldset
  • QJqButtonBase
  • QJqButtonGen
  • QJqCheckBoxBase
  • QJqCheckBoxGen
  • QJqRadioButtonBase
  • QJqRadioButtonGen
  • QMenuBase
  • QMenuGen
  • QProgressbarBase
  • QProgressbarGen
  • QResizableBase
  • QResizableGen
  • QSelectableBase
  • QSelectableGen
  • QSelectMenu
  • QSelectMenuBase
  • QSelectMenuGen
  • QSliderBase
  • QSliderGen
  • QSortableBase
  • QSortableGen
  • QSpinnerBase
  • QSpinnerGen
  • QTabsBase
  • QTabsGen
  • QTextBoxBase
  • Overview
  • Package
  • Class

Class QDatepickerBase

Impelements a JQuery UI Datepicker

A Datepicker is a field that is designed to just allow dates, and to popup a calendar for picking dates.

QBaseClass
Extended by QHtmlAttributeManagerBase
Extended by QHtmlAttributeManager
Extended by QControlBase
Extended by QControl
Extended by QBlockControl
Extended by QPanel
Extended by QDatepickerGen
Extended by QDatepickerBase

Direct known subclasses

QDatepicker
Package: Controls\Base
Link: http://jqueryui.com/datepicker/
Located at includes/base_controls/QDatepickerBase.class.php
Methods summary
public
# __construct( QControl|QControlBase|QForm $objParentObject, null|string $strControlId = null )

Parameters

$objParentObject
$strControlId

Throws

Exception|QCallerException|QInvalidCastException

Overrides

QControlBase::__construct()
protected
# OnSelectJs( )

Output JS that will record changes to the datepicker and fire our own select event.

Output JS that will record changes to the datepicker and fire our own select event.

public mixed|null|string
# __get( string $strName )

Parameters

$strName

Returns

mixed|null|string

Throws

Exception
QCallerException

Overrides

QDatepickerGen::__get()
public mixed|
# __set( string $strName, string $mixValue )

PHP magic method

PHP magic method

Parameters

$strName
Property name
$mixValue
Property value

Returns

mixed|

Throws

Exception|QCallerException|QInvalidCastException

Overrides

QDatepickerGen::__set()
public static string
# Codegen_VarName( string $strPropName )

Returns the variable name for a control of this type during code generation process

Returns the variable name for a control of this type during code generation process

Parameters

$strPropName
Property name for which the control to be generated is being generated

Returns

string
Methods inherited from QDatepickerGen
Destroy(), Dialog(), GetDate(), GetEndScript(), GetJqSetupFunction(), GetModelConnectorParams(), Hide(), IsDisabled(), MakeJqOptions(), Option(), Option1(), Option2(), Option3(), Refresh(), SetDate(), Show()
Methods inherited from QBlockControl
AddControlToMove(), AddDropZone(), GetControlHtml(), GetInnerHtml(), ParsePostData(), RemoveAllControlsToMove(), RemoveAllDropZones(), RemoveControlToMove(), RemoveDropZone(), Validate()
Methods inherited from QControlBase
AddAction(), AddActionArray(), AddAttributeScript(), AddChildControl(), AddCssFile(), AddJavascriptFile(), AddPluginCssFile(), AddPluginJavascriptFile(), AddWrapperCssClass(), Blink(), EvaluateTemplate(), Focus(), ForgetState(), GetAllActions(), GetAttributes(), GetChildControl(), GetChildControls(), GetControlFromHierarchyByMethodName(), GetCustomAttribute(), GetCustomAttributes(), GetCustomStyle(), GetEndHtml(), GetForm(), GetJavaScriptForEvent(), GetJqControlId(), GetNonWrappedHtml(), GetState(), GetStyleAttributes(), GetTemplatePath(), GetWrapperAttributes(), GetWrapperStyleAttributes(), GetWrapperStyler(), IsDescendantOf(), IsModified(), MakeCurrent(), MarkAsModified(), MarkAsRendered(), MarkAsWrapperModified(), ProcessActionParameters(), PutState(), RemoveAllActions(), RemoveChildControl(), RemoveChildControls(), RemoveCustomAttribute(), RemoveCustomStyle(), RemoveWrapperCssClass(), Render(), RenderActionScripts(), RenderAjax(), RenderAttributeScripts(), RenderChildren(), RenderComment(), RenderCssStyles(), RenderExtensionRenderer(), RenderHelper(), RenderHtmlAttributes(), RenderOutput(), RenderWithError(), RenderWithName(), RenderWrappedOutput(), ResetFlags(), ResetOnPageStatus(), SetCustomAttribute(), SetCustomStyle(), SetFocus(), SetForm(), SetParentControl(), Sleep(), SleepHelper(), ValidateControlAndChildren(), ValidationReset(), VarExport(), Wakeup(), WakeupHelper(), Watch(), _CallActionMethod(), _ProcessActionParams(), _ReadState(), _WriteState()
Methods inherited from QHtmlAttributeManagerBase
AddCssClass(), GetCssStyle(), GetDataAttribute(), GetHtmlAttribute(), GetHtmlAttributes(), HasCssClass(), HasCssStyle(), HasHtmlAttribute(), Override(), RemoveCssClass(), RemoveCssClassesByPrefix(), RemoveCssStyle(), RemoveDataAttribute(), RemoveHtmlAttribute(), RenderTag(), SetCssBoxValue(), SetCssClass(), SetCssStyle(), SetDataAttribute(), SetHtmlAttribute()
Methods inherited from QBaseClass
OverrideAttributes(), __call()
Constants inherited from QControlBase
CommentEnd, CommentStart
Properties summary
protected string $strDateTimeFormat

Default datetime format for the picker

Default datetime format for the picker

# "MM/DD/YYYY"
protected QDateTime $dttDateTime

variable to hold the date time to be selected (or already selected)

variable to hold the date time to be selected (or already selected)

#
Properties inherited from QDatepickerGen
$arrDayNames, $arrDayNamesMin, $arrDayNamesShort, $arrMonthNames, $arrMonthNamesShort, $blnAutoSize, $blnButtonImageOnly, $blnChangeMonth, $blnChangeYear, $blnConstrainInput, $blnGotoCurrent, $blnHideIfNoPrevNext, $blnIsRTL, $blnNavigationAsDateFormat, $blnSelectOtherMonths, $blnShowButtonPanel, $blnShowMonthAfterYear, $blnShowOtherMonths, $blnShowWeek, $intFirstDay, $intShowCurrentAtPos, $intStepMonths, $mixAltField, $mixDefaultDate, $mixDuration, $mixMaxDate, $mixMinDate, $mixNumberOfMonths, $mixOnBeforeShow, $mixOnBeforeShowDay, $mixOnCalculateWeek, $mixOnChangeMonthYear, $mixOnClose, $mixOnSelect, $mixShortYearCutoff, $mixShowOptions, $strAltFormat, $strAppendText, $strButtonImage, $strButtonText, $strCloseText, $strCurrentText, $strJavaScripts, $strJqDateFormat, $strNextText, $strPrevText, $strShowAnim, $strShowOn, $strStyleSheets, $strWeekHeader, $strYearRange, $strYearSuffix
Properties inherited from QPanel
$blnHtmlEntities, $blnIsBlockElement, $strDefaultDisplayStyle, $strTagName
Properties inherited from QBlockControl
$blnAutoRenderChildren, $blnDropTarget, $objDropsControlsArray, $objDropsGroupingsArray, $objIsDropZoneFor, $objMovesControlsArray, $strFormat, $strTemplate, $strText
Properties inherited from QControlBase
$blnActionsMustTerminate, $blnAutoRender, $blnDisplay, $blnMinimize, $blnModified, $blnOnPage, $blnRendered, $blnRendering, $blnRequired, $blnSaveState, $blnScriptsOnly, $blnUseWrapper, $blnVisible, $blnWrapLabel, $blnWrapperModified, $mixActionParameter, $mixCausesValidation, $objActionArray, $objChildControlArray, $objDraggable, $objDroppable, $objForm, $objLinkedNode, $objParentControl, $objResizable, $objWatcher, $objWrapperStyler, $strAttributeScripts, $strControlId, $strCssClass, $strCustomAttributeArray, $strCustomStyleArray, $strFormAttributes, $strHtmlAfter, $strHtmlBefore, $strInstructions, $strName, $strPreferredRenderMethod, $strRenderMethod, $strValidationError, $strWarning
Properties inherited from QHtmlAttributeManagerBase
$attributes, $styles
Magic properties summary
public string $DateFormat

The format to use for displaying the date in the field

public string $DateTimeFormat

Alias for DateFormat

public QDateTime $DateTime

The date to set the field to

public mixed $Minimum

Alias for MinDate

public mixed $Maximum

Alias for MaxDate

public string $Text

Textual date to set it to

Magic properties inherited from QDatepickerGen
$AltField, $AltFormat, $AppendText, $AutoSize, $ButtonImage, $ButtonImageOnly, $ButtonText, $ChangeMonth, $ChangeYear, $CloseText, $ConstrainInput, $CurrentText, $DayNames, $DayNamesMin, $DayNamesShort, $DefaultDate, $Duration, $FirstDay, $GotoCurrent, $HideIfNoPrevNext, $IsRTL, $JqDateFormat, $MaxDate, $MinDate, $MonthNames, $MonthNamesShort, $NavigationAsDateFormat, $NextText, $NumberOfMonths, $OnBeforeShow, $OnBeforeShowDay, $OnCalculateWeek, $OnChangeMonthYear, $OnClose, $OnSelect, $PrevText, $SelectOtherMonths, $ShortYearCutoff, $ShowAnim, $ShowButtonPanel, $ShowCurrentAtPos, $ShowMonthAfterYear, $ShowOn, $ShowOptions, $ShowOtherMonths, $ShowWeek, $StepMonths, $WeekHeader, $YearRange, $YearSuffix
Magic properties inherited from QBlockControl
$AutoRenderChildren, $DropTarget, $Format, $HorizontalAlign, $HtmlEntities, $ResizeHandleDirection, $ResizeHandleMaximum, $ResizeHandleMinimum, $TagName, $Template, $VerticalAlign
Magic properties inherited from QControlBase
$ActionParameter, $ActionsMustTerminate, $AutoRender, $CausesValidation, $ControlId, $Form, $FormAttributes, $HtmlAfter, $HtmlBefore, $Instructions, $JavaScripts, $LinkedNode, $Minimize, $Modified, $Moveable, $Name, $OnPage, $ParentControl, $PreferredRenderMethod, $RenderMethod, $Rendered, $Rendering, $Required, $Resizable, $SaveState, $ScriptsOnly, $StyleSheets, $UseWrapper, $ValidationError, $Visible, $Warning, $WrapLabel, $WrapperCssClass, $WrapperModified
Magic properties inherited from QHtmlAttributeManagerBase
$AccessKey, $AltText, $BackColor, $BorderCollapse, $BorderColor, $BorderStyle, $BorderWidth, $CssClass, $Cursor, $Data, $Display, $DisplayStyle, $Enabled, $FontBold, $FontItalic, $FontNames, $FontOverline, $FontSize, $FontStrikeout, $FontUnderline, $ForeColor, $Height, $Left, $Margin, $NoWrap, $Opacity, $OrderedListType, $Overflow, $Padding, $Position, $ReadOnly, $TabIndex, $ToolTip, $Top, $UnorderedListStyle, $Width
API documentation generated by ApiGen