SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class SitemapGenPages

Functions

NameVisibilityDescription
childrenPagesprivateOutputs XML URLs for the children of a page in the sitemap, recursively until all descendents have been output
generatepublicLoads content page URLs and calls SitemapGenPages::childrenPages to output their XML URLs in the sitemap
urlprotectedEcho XML for a single URL in the sitemap

private childrenPages

void $SitemapGenPages->childrenPages ( Pagenode $node , float $prio );

Outputs XML URLs for the children of a page in the sitemap, recursively until all descendents have been output

public generate

void $SitemapGenPages->generate ( );

Loads content page URLs and calls SitemapGenPages::childrenPages to output their XML URLs in the sitemap

protected url (from SitemapGen)

void $SitemapGen->url ( string $loc [, date $mod [, string $freq [, float $prio ]]] );

Echo XML for a single URL in the sitemap