From 606874e9a883ae547df198498fce6fca7b735466 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 10 Aug 2015 19:50:41 +0200 Subject: Fix TProperyValue::ensureEnum and some unit tests class names --- framework/Web/UI/WebControls/TDatePicker.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'framework/Web/UI/WebControls/TDatePicker.php') 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); } /** -- cgit v1.2.3