PlasticStudio\SEO\Generators\SitemapGenerator
SitemapGenerator
Generates an HTML sitemap list
Synopsis
class SitemapGenerator
{
- // methods
- private array getSitemapHost()
- private array getSitemapFilters()
- public string getSitemapHTML()
- private void getChildPages()
- private void getObjectChildren()
Members
private
- $host
—
string
The current site host and protocol - $html
—
string
The HTML to output
Methods
private
- getChildPages() — Iterate through child Page class objects
- getObjectChildren() — Get children which are not of Page type
- getSitemapFilters() — Get subsite domains
- getSitemapHost() — Get subsite domains
public
- getSitemapHTML() — Return the sitemap HTML