Class GoogleSitemap

Description

Class GoogleSitemap

WebSite-PHP : PHP Framework 100% object (http://www.website-php.com) Copyright (c) 2009-2020 WebSite-PHP.com PHP versions >= 5.2

Licensed under The MIT License Redistributions of files must retain the above copyright notice.

Located in /utils/GoogleSitemap.class.php (line 25)


	
			
Class Constant Summary
 CHANGEFREQ_ALWAYS = "always"
 CHANGEFREQ_DAILY = "daily"
 CHANGEFREQ_HOURLY = "hourly"
 CHANGEFREQ_MONTHLY = "monthly"
 CHANGEFREQ_NEVER = "never"
 CHANGEFREQ_WEEKLY = "weekly"
 CHANGEFREQ_YEARLY = "yearly"
Method Summary
 addItem (google_sitemap $new_item) void
 build ([string $file_name = null]) [void|string]
 render () mixed
Methods
addItem (line 57)

Method addItem Adds a new item to the channel contents.

  • since: 1.0.59
  • access: public
void addItem (google_sitemap $new_item)
  • google_sitemap $new_item: item $new_item
build (line 74)

Method build Generates the sitemap XML data based on object properties.

  • since: 1.0.35
  • access: public
[void|string] build ([string $file_name = null])
  • string $file_name: ( optional ) if file name is supplied the XML data is saved in it otherwise returned as a string. [default value: null]
render (line 137)

Method render

  • since: 1.0.35
mixed render ()
Class Constants
CHANGEFREQ_ALWAYS = "always" (line 32)

Box style

  • access: public
CHANGEFREQ_DAILY = "daily" (line 34)

Box style

  • access: public
CHANGEFREQ_HOURLY = "hourly" (line 33)

Box style

  • access: public
CHANGEFREQ_MONTHLY = "monthly" (line 36)

Box style

  • access: public
CHANGEFREQ_NEVER = "never" (line 38)

Box style

  • access: public
CHANGEFREQ_WEEKLY = "weekly" (line 35)

Box style

  • access: public
CHANGEFREQ_YEARLY = "yearly" (line 37)

Box style

  • access: public

Documentation generated on Wed, 22 Apr 2020 13:20:45 +0200 by phpDocumentor 1.4.3