Свойство | Тип | Описание | |
---|---|---|---|
$extensions | |||
$utf8_content_types |
Метод | Описание | |
---|---|---|
__construct ( |
Constructor | |
handleRequest ( array $path ) : void | Handle a request for a cached view | |
parsePath ( string $path ) : array | Parse a request |
Метод | Описание | |
---|---|---|
getContentType ( string $view ) : string | null | Get the content type | |
getProcessedView ( string $view, string $viewtype ) : string | Get the contents of a view for caching | |
handle304 ( string $etag ) : void | Send a 304 and exit() if the ETag matches the request | |
isCacheableView ( string $view ) : boolean | Is the view cacheable. Language views are handled specially. | |
renderView ( string $view, string $viewtype ) : string | Render a view for caching. Language views are handled specially. | |
send403 ( string $msg = 'Cache error: bad request' ) : void | Send an error message to requestor | |
sendCacheHeaders ( string $etag ) : void | Send cache headers | |
sendRevalidateHeaders ( string $etag ) : void | Send revalidate cache headers | |
setupSimplecache ( ) : void | Do a minimal engine load |
Метод | Описание | |
---|---|---|
getViewFileType ( string $view ) : string | Returns the type of output expected from the view. |
public __construct ( |
||
$app | Elgg Application | |
$config | Elgg configuration | |
$server_vars | array | Server vars |
public handleRequest ( array $path ) : void | ||
$path | array | URL path |
Результат | void |
protected isCacheableView ( string $view ) : boolean | ||
$view | string | View name |
Результат | boolean |
protected sendCacheHeaders ( string $etag ) : void | ||
$etag | string | ETag value |
Результат | void |
protected sendRevalidateHeaders ( string $etag ) : void | ||
$etag | string | ETag value |
Результат | void |
protected setupSimplecache ( ) : void | ||
Результат | void |