ContentSitemap

Implements \ContentSitemapInterface

Class ContentSitemap

This class represents the content site map information

category

System

package

Content

Methods

ContentSitemap constructor

__construct(\ContentSitemapVisibilityInterface $visibility, \ContentSitemapPriorityCollection $priorities, \ContentSitemapChangeFrequencyInterface $changeFrequency) 

Arguments

$visibility

\ContentSitemapVisibilityInterface

Site map content visibility

$priorities

\ContentSitemapPriorityCollection

Site map content priority collection

$changeFrequency

\ContentSitemapChangeFrequencyInterface

Site map content change frequency

Return the change frequency of the content

frequencyOfChange() : string

Response

string

Return whether the content is visible in the site map

isVisible() : boolean

Response

boolean

Return the site map content priority collection

priorities() : \ContentSitemapPriorityCollection

Properties

Site map content visibility

visible : boolean
var

Type(s)

boolean

Site map content priority for each language

priorities : \ContentSitemapPriorityCollection

Site map content change frequency

changeFrequency : string
var

Type(s)

string