Definition at line 10 of file CacheHandler.php.
Elgg_CacheHandler::__construct |
( |
|
$config | ) |
|
Elgg_CacheHandler::getProcessedView |
( |
|
$view, |
|
|
|
$viewtype |
|
) |
| |
|
protected |
Get the contents of a view for caching.
- Parameters
-
string | $view | The view name |
string | $viewtype | The viewtype |
- Returns
- string
- See also
- CacheHandler::renderView()
Definition at line 205 of file CacheHandler.php.
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 30 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 106 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 224 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 260 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: