validators\UniqueValidator $targetAttribute
  • References/PHP/Yii/validators/UniqueValidator

$targetAttribute public property The name of the ActiveRecord

2025-01-10 15:47:30
validators\NumberValidator $max
  • References/PHP/Yii/validators/NumberValidator

$max public property Upper limit of the number. Defaults to null

2025-01-10 15:47:30
validators\DateValidator $min
  • References/PHP/Yii/validators/DateValidator

$min public property (available since version 2.0.4) Lower limit

2025-01-10 15:47:30
validators\NumberValidator $integerPattern
  • References/PHP/Yii/validators/NumberValidator

$integerPattern public property The regular expression for matching

2025-01-10 15:47:30
validators\EmailValidator $allowName
  • References/PHP/Yii/validators/EmailValidator

$allowName public property Whether to allow name in the email

2025-01-10 15:47:30
validators\FileValidator getClientOptions()
  • References/PHP/Yii/validators/FileValidator

getClientOptions() protected method Returns the client-side

2025-01-10 15:47:30
validators\NumberValidator $min
  • References/PHP/Yii/validators/NumberValidator

$min public property Lower limit of the number. Defaults to null

2025-01-10 15:47:30
validators\FileValidator validateValue()
  • References/PHP/Yii/validators/FileValidator

validateValue() protected method Validates a value.

2025-01-10 15:47:30
validators\StringValidator $message
  • References/PHP/Yii/validators/StringValidator

$message public property User-defined error message used when

2025-01-10 15:47:30
validators\RequiredValidator $message
  • References/PHP/Yii/validators/RequiredValidator

$message public property The user-defined error message. It may

2025-01-10 15:47:30