Class StaticSeoUrl

Class StaticSeoUrl

Represents the default settings of a static seo url. Has got the static seo url contents as collection.

StaticSeoUrl implements StaticSeoUrlInterface

Methods summary

public __construct( void )
public setId( IdType $id ) : StaticSeoUrlInterface

Set the ID for the staticSeoUrl.

public getId( void ) : integer

Return the ID of the staticSeoUrl.

public setName( StringType $name ) : StaticSeoUrlInterface

Set the name for the staticSeoUrl.

public getName( void ) : string

Return the Name of the staticSeoUrl.

public isInSitemapEntry( void ) : boolean

Return true when the staticSeoUrl should be considered in the sitemap, false otherwise.

public setIsInSitemapEntry( BoolType $status ) : StaticSeoUrlInterface

Consider the staticSeoUrl in the sitemap or not.

public getChangeFrequency( void ) : string

Return the change frequency of the staticSeoUrl.

public setChangeFrequency( StringType $changeFrequency ) : StaticSeoUrlInterface

Value of change frequency of staticSeoUrl in sitemap

public getPriority( void ) : string

Return the Priority of the staticSeoUrl.

public setPriority( StringType $priority ) : StaticSeoUrlInterface

Value of Priority of staticSeoUrl in sitemap

public isInRobotsFile( void ) : boolean

Return true when the staticSeoUrl should be considered in the robots file, false otherwise.

public setIsInRobotsFile( BoolType $status ) : StaticSeoUrlInterface

Consider the staticSeoUrl in the robots file or not.

public setStaticSeoUrlContentCollection( StaticSeoUrlContentCollection $staticSeoUrlContentCollection ) : StaticSeoUrlInterface

Set the static seo url content collection for the static seo url.

public getStaticSeoUrlContentCollection( void ) : StaticSeoUrlContentCollection

Return the staticSeoUrlContent collection of the staticSeoUrl.

public addStaticSeoUrlContent( StaticSeoUrlContentInterface $staticSeoUrlContent ) : StaticSeoUrlInterface

Adds a staticSeoUrlContent to the staticSeoUrlContent collection

Properties summary

protected $id : integer

StaticSeoUrl ID

0
protected $name : string

StaticSeoUrl Name

''
protected $sitemapEntry : boolean

Is it shown in sitemap?

false
protected $changeFrequency : float

Change frequency for sitemap

''
protected $priority : float

Priority for sitemap

''
protected $robotsEntry : boolean

Is it shown in robots file?

false
protected $staticSeoUrlContentCollection : StaticSeoUrlContentCollection

Collection of staticSeoUrlContents