\SitemapXMLCustomRoute
A simple dataobject for defining a custom route in the sitemap XML
- Author: Ryan
Synopsis
class SitemapXMLCustomRoute
extends DataObject
{
- // members
- private static string $singular_name = 'Custom Route';
- private static string $plural_name = 'Custom Routes';
- private static array $db = ;
- private static array $summary_fields = ;
- // methods
- public void getCMSFields()
- public void getTitle()
- public RequiredFields getCMSValidator()
- public boolean canView()
- public String AbsoluteLink()
- public String Link()
- public String getChangeFrequency()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $plural_name
- $singular_name
- $summary_fields
Methods
public
- AbsoluteLink() — required by the Googlesitemaps module.
- Link() — wrapper for returning the Link
- canView() — required by the Googlesitemaps module.
- getCMSFields()
- getCMSValidator() — required fields in the CMS
- getChangeFrequency() — return the change freq. for this route
- getTitle()