PHP Class Thepixeldeveloper\Sitemap\SitemapIndex

Inheritance: implements Thepixeldeveloper\Sitemap\OutputInterface
Afficher le fichier Open project: thepixeldeveloper/sitemap

Protected Properties

Свойство Type Description
$sitemaps Thepixeldeveloper\Sitemap\OutputInterface[] Array of Sitemap entries.

Méthodes publiques

Méthode Description
addSitemap ( Thepixeldeveloper\Sitemap\OutputInterface $sitemap ) Add a new Sitemap object to the collection.
generateXML ( XMLWriter $XMLWriter )
getSitemaps ( ) : Thepixeldeveloper\Sitemap\OutputInterface[] Get an array of Sitemap objects.

Method Details

addSitemap() public méthode

Add a new Sitemap object to the collection.
public addSitemap ( Thepixeldeveloper\Sitemap\OutputInterface $sitemap )
$sitemap Thepixeldeveloper\Sitemap\OutputInterface

generateXML() public méthode

public generateXML ( XMLWriter $XMLWriter )
$XMLWriter XMLWriter

getSitemaps() public méthode

Get an array of Sitemap objects.
public getSitemaps ( ) : Thepixeldeveloper\Sitemap\OutputInterface[]
Résultat Thepixeldeveloper\Sitemap\OutputInterface[]

Property Details

$sitemaps protected_oe property

Array of Sitemap entries.
protected OutputInterface[],Thepixeldeveloper\Sitemap $sitemaps
Résultat Thepixeldeveloper\Sitemap\OutputInterface[]