validators\BooleanValidator init()
  • References/PHP/Yii/validators/BooleanValidator

init() public method Initializes the object.

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

addError() public method Adds an error about the specified

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

$tooSmall public property (available since version 2.0.4) User-defined

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

$targetClass public property The name of the ActiveRecord class

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

validateAttribute() public method Validates a single attribute

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

$length public property Specifies the length limit of the value

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

$checkDNS public property Whether to check whether the email's

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

$skipOnEmpty public property Whether to skip this validator if

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

validateValue() protected method Validates a value.

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

$message public property User-defined error message is used when

2025-01-10 15:47:30