classQDateTimeTextBox
QDateTimeTextBox Class Reference
Inherits QTextBox.

Public Member Functions
Static Public Member Functions
- static ParseForDateTimeValue ($strText)
Protected Attributes
- $dttMinimum = null
- $dttMaximum = null
- $strLabelForInvalid = 'For example, "Mar 20, 4:30pm" or "Mar 20"'
- $calLinkedControl
Member Function Documentation
| QDateTimeTextBox::__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 QTextBoxBase.
References QControlBase::$strName, QCallerException::IncrementOffset(), and ParseForDateTimeValue().
| QDateTimeTextBox::__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 QTextBoxBase.
References QControlBase::$strName, QType::Cast(), QType::DateTime, QCallerException::IncrementOffset(), QDateTime::Now, and QType::String.
| static QDateTimeTextBox::ParseForDateTimeValue | ( | $ | strText | ) | [static] |
| QDateTimeTextBox::Validate | ( | ) |
Member Data Documentation
QDateTimeTextBox::$calLinkedControl [protected] |
QDateTimeTextBox::$dttMaximum = null [protected] |
QDateTimeTextBox::$dttMinimum = null [protected] |
QDateTimeTextBox::$strLabelForInvalid = 'For example, "Mar 20, 4:30pm" or "Mar 20"' [protected] |
The documentation for this class was generated from the following file:
- qcodo/_core/qform/QDateTimeTextBox.class.php
