Handler for SEO functions, including generation of robots.txt and XML sitemap
This is the code documentation for the SproutCMS project
Search documentation |
class SeoControllerHandler for SEO functions, including generation of robots.txt and XML sitemap
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2026-09-15
**/
class NewClassName extends SeoController {
/**
* Echo the XML header for the sitemap
**/
private function header () {
// Method code goes here
}
/**
* Echo the XML footer for the sitemap
**/
private function footer () {
// Method code goes here
}
public function __construct () {
// Method code goes here
}
/**
* Output a dynamic robots.txt file which points to the sitemap; for use on production sites
**/
public function robots () {
// Method code goes here
}
/**
* Robots.txt which denies all; for use on dev/QA sites
**/
public function robotsDeny () {
// Method code goes here
}
/**
* Output a dynamic XML sitemap
**/
public function xmlSitemap () {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|