You are here

function XMLSitemapIndexWriter::__construct in XML sitemap 6.2

Same name and namespace in other branches
  1. 7.2 xmlsitemap.xmlsitemap.inc \XMLSitemapIndexWriter::__construct()

Constructor.

Parameters

$sitemap: The sitemap array.

$page: The current page of the sitemap being generated.

Overrides XMLSitemapWriter::__construct

File

./xmlsitemap.xmlsitemap.inc, line 198
XML sitemap integration functions for xmlsitemap.module.

Class

XMLSitemapIndexWriter

Code

function __construct(stdClass &$sitemap, $page = 'index') {
  parent::__construct($sitemap, 'index');
}