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/TCompareValidator.php | |
parent | ac81ab6d556ce52e98acf636bbcd8ad4d60ecf4e (diff) |
Fix TProperyValue::ensureEnum and some unit tests class names
Diffstat (limited to 'framework/Web/UI/WebControls/TCompareValidator.php')
-rw-r--r-- | framework/Web/UI/WebControls/TCompareValidator.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TCompareValidator.php b/framework/Web/UI/WebControls/TCompareValidator.php index a4c44e82..130ee97d 100644 --- a/framework/Web/UI/WebControls/TCompareValidator.php +++ b/framework/Web/UI/WebControls/TCompareValidator.php @@ -69,7 +69,7 @@ class TCompareValidator extends TBaseValidator */ public function setDataType($value) { - $this->setViewState('DataType',TPropertyValue::ensureEnum($value,'TValidationDataType'),TValidationDataType::String); + $this->setViewState('DataType',TPropertyValue::ensureEnum($value,'Prado\\Web\\UI\\WebControls\\TValidationDataType'),TValidationDataType::String); } /** @@ -120,7 +120,7 @@ class TCompareValidator extends TBaseValidator */ public function setOperator($value) { - $this->setViewState('Operator',TPropertyValue::ensureEnum($value,'TValidationCompareOperator'),TValidationCompareOperator::Equal); + $this->setViewState('Operator',TPropertyValue::ensureEnum($value,'Prado\\Web\\UI\\WebControls\\TValidationCompareOperator'),TValidationCompareOperator::Equal); } /** |