validators\IpValidator $expandIPv6
  • References/PHP/Yii/validators/IpValidator

$expandIPv6 public property Whether to expand an IPv6 address

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

$except public property Scenarios that the validator should not

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

$normalize public property Whether to add the CIDR prefix with

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

$targetAttribute public property The name of the ActiveRecord

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

setRanges() public method Set the IPv4 or IPv6 ranges

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

validateValue() protected method Validates a value.

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

$hasSubnet public property User-defined error message is used

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

$whenClient public property A JavaScript function name whose return

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

$max public property Maximum length. If not set, it means no maximum

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

$rule public property Definition of the validation rule, which

2025-01-10 15:47:30