summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TDatePicker.php
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-08-10 19:50:41 +0200
committerDavid <ottodavid@gmx.net>2015-08-11 08:34:39 +0200
commit606874e9a883ae547df198498fce6fca7b735466 (patch)
tree2f9e772926ee22e715411e79acd8e0adfe1de2cd /framework/Web/UI/WebControls/TDatePicker.php
parentac81ab6d556ce52e98acf636bbcd8ad4d60ecf4e (diff)
Fix TProperyValue::ensureEnum and some unit tests class names
Diffstat (limited to 'framework/Web/UI/WebControls/TDatePicker.php')
-rw-r--r--framework/Web/UI/WebControls/TDatePicker.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php
index 5483b6b2..25d1ad65 100644
--- a/framework/Web/UI/WebControls/TDatePicker.php
+++ b/framework/Web/UI/WebControls/TDatePicker.php
@@ -154,7 +154,7 @@ class TDatePicker extends TTextBox
*/
public function setInputMode($value)
{
- $this->setViewState('InputMode', TPropertyValue::ensureEnum($value, 'TDatePickerInputMode'), TDatePickerInputMode::TextBox);
+ $this->setViewState('InputMode', TPropertyValue::ensureEnum($value, 'Prado\\Web\\UI\\WebControls\\TDatePickerInputMode'), TDatePickerInputMode::TextBox);
}
/**
@@ -170,7 +170,7 @@ class TDatePicker extends TTextBox
*/
public function setMode($value)
{
- $this->setViewState('Mode', TPropertyValue::ensureEnum($value, 'TDatePickerMode'), TDatePickerMode::Basic);
+ $this->setViewState('Mode', TPropertyValue::ensureEnum($value, 'Prado\\Web\\UI\\WebControls\\TDatePickerMode'), TDatePickerMode::Basic);
}
/**
@@ -282,7 +282,7 @@ class TDatePicker extends TTextBox
*/
public function setPositionMode($value)
{
- $this->setViewState('PositionMode', TPropertyValue::ensureEnum($value, 'TDatePickerPositionMode'), TDatePickerPositionMode::Bottom);
+ $this->setViewState('PositionMode', TPropertyValue::ensureEnum($value, 'Prado\\Web\\UI\\WebControls\\TDatePickerPositionMode'), TDatePickerPositionMode::Bottom);
}
/**