validators\NumberValidator $numberPattern

$numberPattern public property

The regular expression for matching numbers. It defaults to a pattern that matches floating numbers with optional exponential part (e.g. -1.23e-10).

public string $numberPattern = '/^\s*[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?\s*$/'
doc_Yii
2016-10-30 17:13:58
Comments
Leave a Comment

Please login to continue.