Gdn_Upload::isUpload PHP 메소드

isUpload() 공개 메소드

Check to see whether the user has selected a file for uploading.
public isUpload ( $inputName ) : boolean
$inputName The input name of the file.
리턴 boolean Whether a file has been selected for the fiels.
    public function isUpload($inputName)
    {
        return val('name', val($inputName, $_FILES, '')) !== '';
    }