validators\FileValidator $wrongExtension

$wrongExtension public property

The error message used when the uploaded file has an extension name that is not listed in $extensions. You may use the following tokens in the message:

  • {attribute}: the attribute name
  • {file}: the uploaded file name
  • {extensions}: the list of the allowed extensions.
public string $wrongExtension = null
doc_Yii
2016-10-30 17:13:40
Comments
Leave a Comment

Please login to continue.