SproutCMS

This is the code documentation for the SproutCMS project

function childrenPages()

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

Usage

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

Arguments

  1. Pagenode $node
    The page which should have its children/descendents output
  2. float $prio
    Priority for matching pages; the deeper the pages are, the lower priority they are given

Return value

  • void
    Outputs XML directly