Class Sitemap

Description

Sitemap class

  • author: DevilDev

Located in /sitemap/Sitemap.php (line 8)

Modules
   |
   --Sitemap
Variable Summary
Method Summary
static Sitemap getInstance ()
string createLineHtml (array $data, string $type, [array $full = array()])
string createLineXml (array $data)
string createMapForCategoris ([bool $xml_create = true])
string createMapForProducts ([bool $xml_create = true])
string createMapForStatics ([bool $xml_create = true])
void createXmlFile (string $filename, sring $xml)
void getLangUrl ()
string getMapHtml ()
Variables
static Sitemap $_instance = null (line 16)

Singleton instance

  • access: protected
Methods
static method getInstance (line 26)

Returns an instance of Sitemap

Singleton pattern implementation

  • return: Provides a fluent interface
  • access: public
static Sitemap getInstance ()
createLineHtml (line 397)

Create html line for sitemap

  • access: public
string createLineHtml (array $data, string $type, [array $full = array()])
  • array $data
  • string $type
  • array $full
createLineXml (line 41)

Create line for XML

  • access: public
string createLineXml (array $data)
  • array $data
createMapForCategoris (line 340)

Create sitemap for categories

  • return: html|xml or boolean
  • access: public
string createMapForCategoris ([bool $xml_create = true])
  • bool $xml_create
createMapForProducts (line 214)

Create sitemap by products

  • return: html|xml or boolean
  • access: public
string createMapForProducts ([bool $xml_create = true])
  • bool $xml_create
createMapForStatics (line 267)

Create sitemap by static pages

  • return: html|xml or boolean
  • access: public
string createMapForStatics ([bool $xml_create = true])
  • bool $xml_create
createXmlFile (line 78)

Save file XML

  • access: public
void createXmlFile (string $filename, sring $xml)
  • string $filename
  • sring $xml
getLangUrl (line 193)
  • access: public
void getLangUrl ()
getMapHtml (line 105)

Sitemap as HTML for view

  • access: public
string getMapHtml ()

Documentation generated on Fri, 19 Aug 2016 17:10:39 +0200 by phpDocumentor 1.4.3