PHPDoc all the things!

This commit is contained in:
jgen
2014-04-28 18:22:57 -04:00
parent 2a9f76d2f0
commit b3f9925839
8 changed files with 191 additions and 47 deletions

View File

@@ -153,7 +153,11 @@ class XMLSitemap extends Extension
$page->set_data($xml);
}
// returns true if a new sitemap is needed
/**
* Returns true if a new sitemap is needed.
*
* @return bool
*/
private function new_sitemap_needed()
{
$sitemap_generation_interval = 86400; // allow new site map every day