|
1C-Bitrix 25.700.0
|
Открытые члены | |
| __construct (string $content, string $name='download_file', string $contentType='application/octet-stream') | |
| Открытые члены унаследованные от HttpResponse | |
| __construct () | |
| flush ($text='') | |
| addHeader ($name, $value='') | |
| setHeaders (Web\HttpHeaders $headers) | |
| addCookie (Web\Cookie $cookie, $replace=true, $checkExpires=true) | |
| allowPersistentCookies ($mode) | |
| getCookies () | |
| getHeaders () | |
| setStatus ($status) | |
| getStatus () | |
| setLastModified (Type\DateTime $time) | |
| redirectTo ($url) | |
| copyHeadersTo (HttpResponse $response) | |
| Открытые члены унаследованные от Response | |
| clear () | |
| setContent ($content) | |
| appendContent ($content) | |
| getContent () | |
| send () | |
Дополнительные унаследованные члены | |
| Поля данных унаследованные от HttpResponse | |
| const | STORE_COOKIE_NAME = 'STORE_COOKIES' |
| Защищенные члены унаследованные от HttpResponse | |
| flushStatus () | |
| flushHeader ($header) | |
| setCookie (Web\Cookie $cookie) | |
| getServerProtocol () | |
| Защищенные члены унаследованные от Response | |
| checkContent ($content) | |
| writeBody ($text) | |
| Защищенные данные унаследованные от HttpResponse | |
| $cookies = [] | |
| $headers | |
| $lastModified | |
| Защищенные данные унаследованные от Response | |
| $content | |
Response with headers that induce browser downloading as file should be in module main
См. определение в файле downloadresponse.php строка 9
| __construct | ( | string | $content, |
| string | $name = 'download_file', | ||
| string | $contentType = 'application/octet-stream' ) |
Constructor
| string | $content | Content to download |
| string | $name | Name of downloaded file (should be compliant with standards) |
| string | $contentType | MIME content type for browser |
См. определение в файле downloadresponse.php строка 18