public file(string $file, ?Manager $manager): File
Parameter | Type | Description |
---|
$file | string | |
$manager | Manager | |
public html(string $content, int $status = 200): HTML
Parameter | Type | Description |
---|
$content | string | |
$status | int | |
public image(string $filename, int $quality = 8, ?Manager $manager): Image
Parameter | Type | Description |
---|
$filename | string | |
$quality | int | |
$manager | Manager | |
public json(\stdClass $data, int $status = 200): JSON
Parameter | Type | Description |
---|
$data | \stdClass | |
$status | int | |
public PDF(string $file, bool $downloadable = true): PDF
Parameter | Type | Description |
---|
$file | string | |
$downloadable | bool | |
public text(string $content, int $status = 200): Text
Parameter | Type | Description |
---|
$content | string | |
$status | int | |
public view(string $name): View
Parameter | Type | Description |
---|
$name | string | |
public xml(Element $content, int $status = 200): XML
Parameter | Type | Description |
---|
$content | Element | |
$status | int | |
Generated by Hazaar API Doc Generator