Send the archive as a zip download
public sendZip ( String $fileName = null, String $contentType = self::CONTENT_TYPE, String $utf8FileName = null, boolean $inline = false ) : boolean | ||
$fileName | String | The name of the Zip archive, in ISO-8859-1 (or ASCII) encoding, ie. "archive.zip". Optional, defaults to null, which means that no ISO-8859-1 encoded file name will be specified. |
$contentType | String | Content mime type. Optional, defaults to "application/zip". |
$utf8FileName | String | The name of the Zip archive, in UTF-8 encoding. Optional, defaults to null, which means that no UTF-8 encoded file name will be specified. |
$inline | boolean | Use Content-Disposition with "inline" instead of "attachment". Optional, defaults to false. |
return | boolean | $success |