Definition at line 10 of file CacheHandler.php.
 
◆ __construct()
      
        
          | Elgg_CacheHandler::__construct | ( |  | $config | ) |  | 
      
 
 
◆ getProcessedView()
  
  | 
        
          | 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.
 
 
◆ handleRequest()
      
        
          | 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.
 
 
◆ loadEngine()
  
  | 
        
          | Elgg_CacheHandler::loadEngine | ( |  | ) |  |  | protected | 
 
 
◆ parseRequestVar()
      
        
          | 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.
 
 
◆ renderView()
  
  | 
        
          | 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.
 
 
◆ send403()
  
  | 
        
          | 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.
 
 
◆ sendCacheHeaders()
  
  | 
        
          | Elgg_CacheHandler::sendCacheHeaders | ( |  | $etag | ) |  |  | protected | 
 
 
◆ sendContentType()
  
  | 
        
          | Elgg_CacheHandler::sendContentType | ( |  | $view | ) |  |  | protected | 
 
 
◆ setupSimplecache()
  
  | 
        
          | Elgg_CacheHandler::setupSimplecache | ( |  | ) |  |  | protected | 
 
 
◆ $config
  
  | 
        
          | Elgg_CacheHandler::$config |  | protected | 
 
 
The documentation for this class was generated from the following file: