validators\FileValidator $wrongMimeType

$wrongMimeType public property

The error message used when the file has an mime type that is not allowed by $mimeTypes property. You may use the following tokens in the message:

  • {attribute}: the attribute name
  • {file}: the uploaded file name
  • {mimeTypes}: the value of $mimeTypes
public string $wrongMimeType = null
doc_Yii
2016-10-30 17:13:41
Comments
Leave a Comment

Please login to continue.