classQDateTimePicker
QDateTimePicker Class Reference
Inherits QControl.

Public Member Functions
- ParsePostData ()
- GetJavaScriptAction ()
- Validate ()
- __get ($strName)
- __set ($strName, $mixValue)
Protected Member Functions
Protected Attributes
- $dttDateTime = null
- $strDateTimePickerType = QDateTimePickerType::Date
- $strDateTimePickerFormat = QDateTimePickerFormat::MonthDayYear
- $intMinimumYear = 1970
- $intMaximumYear = 2010
- $intSelectedMonth = null
- $intSelectedDay = null
- $intSelectedYear = null
- $strJavaScripts = '_core/date_time_picker.js'
- $strCssClass = 'datetimepicker'
Member Function Documentation
| QDateTimePicker::__get | ( | $ | strName | ) |
Override method to perform a property "Get" This will get the value of $strName All inhereted objects that call __get() should always fall through to calling parent::__get() in a try/catch statement catching for CallerExceptions.
- Parameters:
-
string $strName Name of the property to get
- Returns:
- mixed the returned property
Reimplemented from QControlBase.
References QControlBase::$strName, and QCallerException::IncrementOffset().
| QDateTimePicker::__set | ( | $ | strName, | |
| $ | mixValue | |||
| ) |
Override method to perform a property "Set" This will set the property $strName to be $mixValue All inhereted objects that call __set() should always fall through to calling parent::__set() in a try/catch statement catching for CallerExceptions.
- Parameters:
-
string $strName Name of the property to set string $mixValue New value of the property
- Returns:
- mixed the property that was set
Reimplemented from QControlBase.
References QControlBase::$strName, QType::Cast(), QType::DateTime, QCallerException::IncrementOffset(), and QType::String.
| QDateTimePicker::GetControlHtml | ( | ) | [protected] |
$dttDateTime->IsDateNull() &&
Reimplemented from QControlBase.
References $dttDateTime, $intSelectedYear, $strCssClass, QDateTimePickerType::Date, QDateTimePickerType::DateTime, QDateTimePickerType::DateTimeSeconds, QDateTimePickerFormat::DayMonthYear, QControlBase::GetAttributes(), QControlBase::GetStyleAttributes(), QDateTimePickerFormat::MonthDayYear, QDateTimePickerType::Time, QDateTimePickerType::TimeSeconds, and QDateTimePickerFormat::YearMonthDay.
| QDateTimePicker::GetJavaScriptAction | ( | ) |
| QDateTimePicker::ParsePostData | ( | ) |
Reimplemented from QControlBase.
References QDateTimePickerType::Date, QDateTimePickerType::DateTime, QDateTimePickerType::DateTimeSeconds, QDateTimePickerType::Time, and QDateTimePickerType::TimeSeconds.
| QDateTimePicker::Validate | ( | ) |
Reimplemented from QControlBase.
References QDateTimePickerType::Date, QDateTimePickerType::DateTime, QDateTimePickerType::DateTimeSeconds, QDateTimePickerType::Time, and QDateTimePickerType::TimeSeconds.
Member Data Documentation
QDateTimePicker::$dttDateTime = null [protected] |
Referenced by GetControlHtml().
QDateTimePicker::$intMaximumYear = 2010 [protected] |
QDateTimePicker::$intMinimumYear = 1970 [protected] |
QDateTimePicker::$intSelectedDay = null [protected] |
QDateTimePicker::$intSelectedMonth = null [protected] |
QDateTimePicker::$intSelectedYear = null [protected] |
Referenced by GetControlHtml().
QDateTimePicker::$strCssClass = 'datetimepicker' [protected] |
QDateTimePicker::$strDateTimePickerFormat = QDateTimePickerFormat::MonthDayYear [protected] |
QDateTimePicker::$strDateTimePickerType = QDateTimePickerType::Date [protected] |
QDateTimePicker::$strJavaScripts = '_core/date_time_picker.js' [protected] |
Reimplemented from QControlBase.
The documentation for this class was generated from the following file:
- qcodo/_core/qform/QDateTimePicker.class.php
