Documentation

ContentSitemap
in package
implements ContentSitemapInterface

Class ContentSitemap

This class represents the content site map information

Tags
category

System

Interfaces, Classes and Traits

ContentSitemapInterface
Interface ContentSitemapInterface

Table of Contents

$changeFrequency  : string
Site map content change frequency
$priorities  : ContentSitemapPriorityCollection
Site map content priority for each language
$visible  : bool
Site map content visibility
__construct()  : mixed
ContentSitemap constructor
frequencyOfChange()  : string
Return the change frequency of the content
isVisible()  : bool
Return whether the content is visible in the site map
priorities()  : ContentSitemapPriorityCollection
Return the site map content priority collection

Properties

$changeFrequency

Site map content change frequency

protected string $changeFrequency

Methods

__construct()

ContentSitemap constructor

public __construct(ContentSitemapVisibilityInterface $visibility, ContentSitemapPriorityCollection $priorities, ContentSitemapChangeFrequencyInterface $changeFrequency) : mixed
Parameters
$visibility : ContentSitemapVisibilityInterface

Site map content visibility

$priorities : ContentSitemapPriorityCollection

Site map content priority collection

$changeFrequency : ContentSitemapChangeFrequencyInterface

Site map content change frequency

Return values
mixed

frequencyOfChange()

Return the change frequency of the content

public frequencyOfChange() : string
Return values
string

isVisible()

Return whether the content is visible in the site map

public isVisible() : bool
Return values
bool

Search results