\ BWP_GXS_CACHE

Copyright (c) 2011 Khang Minh <betterwp.net>

Summary

Methods
Properties
Constants
__construct()
write_cache()
get_cache_status()
get_headers()
get_cache_file()
$main
$options
$module_name
$sitemap_name
$cache_file
$cache_time
$cache_headers
$gzip
$now
No constants found
No protected methods found
No protected properties found
N/A

Properties

$main

$main : 

$options

$options : 

$module_name

$module_name : 

$sitemap_name

$sitemap_name : 

$cache_file

$cache_file : 

$cache_time

$cache_time : 

$cache_headers

$cache_headers : 

$gzip

$gzip : 

$now

$now : 

Methods

__construct()

__construct(\BWP_Sitemaps  $main) 

Parameters

write_cache()

write_cache(  $contents) 

Parameters

$contents

get_cache_status()

get_cache_status(  $module_name,   $sitemap_name) : boolean|string

Gets current cache status for the requested sitemap

Parameters

$module_name
$sitemap_name

Returns

boolean|string

false if cache is invalid '304' if http cache can be used '200' if file cache must be used

get_headers()

get_headers() 

get_cache_file()

get_cache_file()