Determines if the file was uploaded or not. If not, will return the
appropriate error message.
public wasFileUploaded ( string $field, string $name = null ) | ||
$field | string | The name of the field containing the uploaded file. |
$name | string | The file description string to use in the error message. Default: 'file'. |