Definition at line 11 of file CacheHandler.php.
Elgg\CacheHandler::__construct |
( |
|
$config | ) |
|
Elgg\CacheHandler::getProcessedView |
( |
|
$view, |
|
|
|
$viewtype |
|
) |
| |
|
protected |
Elgg\CacheHandler::handleRequest |
( |
|
$get_vars, |
|
|
|
$server_vars |
|
) |
| |
Handle a request for a cached view.
- Parameters
-
array | $get_vars | $_GET variables |
array | $server_vars | $_SERVER variables |
- Returns
- void
Definition at line 31 of file CacheHandler.php.
Elgg\CacheHandler::loadEngine |
( |
| ) |
|
|
protected |
Elgg\CacheHandler::parseRequestVar |
( |
|
$request_var | ) |
|
Parse a request.
- Parameters
-
string | $request_var | Request URL |
- Returns
- array Cache parameters (empty array if failure)
Definition at line 107 of file CacheHandler.php.
Elgg\CacheHandler::renderView |
( |
|
$view, |
|
|
|
$viewtype |
|
) |
| |
|
protected |
Render a view for caching.
- Parameters
-
string | $view | The view name |
string | $viewtype | The viewtype |
- Returns
- string
Definition at line 229 of file CacheHandler.php.
Elgg\CacheHandler::send403 |
( |
|
$msg = 'Cache error: bad request' | ) |
|
|
protected |
Send an error message to requestor.
- Parameters
-
string | $msg | Optional message text |
- Returns
- void
Definition at line 265 of file CacheHandler.php.
Elgg\CacheHandler::sendCacheHeaders |
( |
|
$etag | ) |
|
|
protected |
Elgg\CacheHandler::sendContentType |
( |
|
$view | ) |
|
|
protected |
Elgg\CacheHandler::setupSimplecache |
( |
| ) |
|
|
protected |
Elgg\CacheHandler::$config |
|
protected |
The documentation for this class was generated from the following file: