SproutCMS

This is the code documentation for the SproutCMS project

class SitemapGen

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-05-06
**/
class NewClassName extends SitemapGen {
    
    /**
    * Generate sitemap entries by calling the {@see SitemapGen::url} method
    **/
    public function generate () {
        // Method code goes here
    }
    
    /**
    * Echo XML for a single URL in the sitemap
    **/
    protected function url (string $loc, date $mod, string $freq, float $prio) {
        // Method code goes here
    }
    
}
?>