diff options
author | David <ottodavid@gmx.net> | 2015-08-10 19:50:41 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2015-08-11 08:34:39 +0200 |
commit | 606874e9a883ae547df198498fce6fca7b735466 (patch) | |
tree | 2f9e772926ee22e715411e79acd8e0adfe1de2cd /framework/Web/UI/WebControls/TDatePicker.php | |
parent | ac81ab6d556ce52e98acf636bbcd8ad4d60ecf4e (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.php | 6 |
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); } /** |