validators\FileValidator validateMimeType()
  • References/PHP/Yii/validators/FileValidator

validateMimeType() protected method (available since version 2.0.8)

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

$maxWidth public property The maximum width in pixels. Defaults

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

$underHeight public property The error message used when the image

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\RegularExpressionValidator init()
  • References/PHP/Yii/validators/RegularExpressionValidator

init() public method Initializes the object.

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

$compareAttribute public property The name of the attribute to

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

validateValue() protected method Validates a value.

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

$tooShort public property User-defined error message used when

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\StringValidator $length
  • References/PHP/Yii/validators/StringValidator

$length public property Specifies the length limit of the value

2025-01-10 15:47:30