validators\CompareValidator $type

$type public property

The type of the values being compared. The follow types are supported:

  • string: the values are being compared as strings. No conversion will be done before comparison.
  • number: the values are being compared as numbers. String values will be converted into numbers before comparison.
public string $type = self::TYPE_STRING
doc_Yii
2016-10-30 17:13:25
Comments
Leave a Comment

Please login to continue.