ContentSitemapChangeFrequency

Implements \ContentSitemapChangeFrequencyInterface

Class ContentSitemapChangeFrequency

This class represents the site map content change frequency

category

System

package

Content

Methods

ContentSitemapChangeFrequency constructor

__construct(string $frequency) 

Arguments

$frequency

string

Change frequency

Create instance for always changing frequency

createForAlwaysChangingFrequency() : \ContentSitemapChangeFrequency
static

Create instance for daily changing frequency

createForDailyChanges() : \ContentSitemapChangeFrequency
static

Create instance for hourly changing frequency

createForHourlyChanges() : \ContentSitemapChangeFrequency
static

Create instance for monthly changing frequency

createForMonthlyChanges() : \ContentSitemapChangeFrequency
static

Create instance for yearly changing frequency

createForNeverChangingFrequency() : \ContentSitemapChangeFrequency
static

Create instance for weekly changing frequency

createForWeeklyChanges() : \ContentSitemapChangeFrequency
static

Create instance for yearly changing frequency

createForYearlyChanges() : \ContentSitemapChangeFrequency
static

Create instance from a site map change frequency string

createFromString(string $frequency) : \ContentSitemapChangeFrequency
static

Arguments

$frequency

string

Site map change frequency as string

Response

\ContentSitemapChangeFrequency

Return the site map content change frequency

frequencyOfChange() : string

Response

string

Constants

Always changing frequency

ALWAYS

Hourly changing frequency

HOURLY

Daily changing frequency

DAILY

Daily changing frequency

WEEKLY

Monthly changing frequency

MONTHLY

Yearly changing frequency

YEARLY

Never changing

NEVER

Properties

Change frequency

frequency : string
var

Type(s)

string