Default cache control.
public array $__defaultCacheControlDirectives
Public with max age is 5 minutes
Charset map.
private array $charsetMap
This is a map of charsets to their respective byte-order-marks.
\Hazaar\File Constructor.
public __construct({Array})
Parameter | Type | Description |
---|
$file | string | either a string filename to use or a \Hazaar\File object |
$manager | Manager | |
public initialiseCacheControl({Array})
Parameter | Type | Description |
---|
$file | string | |
$manager | Manager | |
public setContent({Array})
Parameter | Type | Description |
---|
$data | mixed | |
$contentType | string | |
public getContent({Array})
public getContentLength({Array})
public hasContent({Array})
public setUnmodified({Array})
Parameter | Type | Description |
---|
$ifModifiedSince | Date | |
public setLastModified({Array})
Parameter | Type | Description |
---|
$fmtime | int | |
public getLastModified({Array})
Parameter | Type | Description |
---|
$pattern | string | |
$matches | array | |
$flags | int | |
$offset | int | |
Parameter | Type | Description |
---|
$pattern | string | |
$replacement | string | |
$limit | int | |
$count | int | |
public setDownloadable({Array})
Parameter | Type | Description |
---|
$toggle | bool | |
$filename | string | |
public setContentType({Array})
Parameter | Type | Description |
---|
$type | string | |
public getContentType({Array})
public fileExists({Array})
Generated by Hazaar API Doc Generator