SproutCMS

This is the code documentation for the SproutCMS project

class SitemapWidget

Shows a site map

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-16
**/
class NewClassName extends SitemapWidget {
    
    /**
    * Draws a single item, and its sub-items
    **/
    private function drawnode (TreeNode $node, int $depth, array $ancestors) {
        // Method code goes here
    }
    
    /**
    * Does the front-end rendering of this widget
    **/
    public function render (int $orientation) {
        // Method code goes here
    }
    
}
?>