validateExtension() protected method
Checks if given uploaded file have correct type (extension) according current validator settings.
protected boolean validateExtension ( $file ) | ||
---|---|---|
$file | yii\web\UploadedFile |
validateExtension() protected method
Checks if given uploaded file have correct type (extension) according current validator settings.
protected boolean validateExtension ( $file ) | ||
---|---|---|
$file | yii\web\UploadedFile |
Please login to continue.