docs/api/Opencart.System.Library.Response.html
Class Response Stores the response so the correct headers can go out before the response output is shown.
Located at system\library\response.php
| Methods |
|---|
| ` |
public
` | `addHeader(string $header): void`
Constructor
Constructor
| # | | `
public
` | `getHeaders(): array<int, string>`
getHeaders
getHeaders
| # | | `
public
` | `redirect(string $url, int $status = 302): void`
Redirect
Redirect
| # | | `
public
` | `setCompression(int $level): void`
setCompression
setCompression
| # | | `
public
` | `setOutput(string $output): void`
setOutput
setOutput
| # | | `
public
` | `getOutput(): string`
getOutput
getOutput
| # | | `
public
` | `output(): void`
Output Displays the set HTML output
Output Displays the set HTML output
| # |
OpenCart API API documentation generated by ApiGen dev-master