avoid confusion about uploadRequired

This commit is contained in:
Carsten Brandt
2014-07-16 11:43:44 +02:00
parent 3e443b3c44
commit aabd69afcf

View File

@ -71,6 +71,8 @@ class FileValidator extends Validator
public $message;
/**
* @var string the error message used when no file is uploaded.
* Note that this is the text of the validation error message. To make uploading files required,
* you have to set [[skipOnEmpty]] to `false`.
*/
public $uploadRequired;
/**