validators\CompareValidator compareValues()

compareValues() protected method

Compares two values with the specified operator.

protected boolean compareValues ( $operator, $type, $value, $compareValue )
$operator string

The comparison operator

$type string

The type of the values being compared

$value mixed

The value being compared

$compareValue mixed

Another value being compared

return boolean

Whether the comparison using the specified operator is true.

doc_Yii
2016-10-30 17:13:26
Comments
Leave a Comment

Please login to continue.