StaticSeoUrl

Implements \StaticSeoUrlInterface

Class StaticSeoUrl

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

category

System

package

StaticSeoUrl

subpackage

Entities

Methods

__construct

__construct() 

Adds a staticSeoUrlContent to the staticSeoUrlContent collection

addStaticSeoUrlContent(\StaticSeoUrlContentInterface $staticSeoUrlContent) : \StaticSeoUrlInterface
Throws
\InvalidArgumentException

Arguments

$staticSeoUrlContent

\StaticSeoUrlContentInterface

Response

\StaticSeoUrlInterface

Same instance for chained method calls.

Return the change frequency of the staticSeoUrl.

getChangeFrequency() : string

Response

string

Change frequency.

Return the ID of the staticSeoUrl.

getId() : integer

Response

integer

StaticSeoUrl ID.

Return the Name of the staticSeoUrl.

getName() : string

Response

string

Name.

Returns name of OpenGraph image file

getOpenGraphImage() : string

Response

string

Return the Priority of the staticSeoUrl.

getPriority() : string

Response

string

Priority.

Return the staticSeoUrlContent collection of the staticSeoUrl.

getStaticSeoUrlContentCollection() : \StaticSeoUrlContentCollection

Response

\StaticSeoUrlContentCollection

StaticSeoUrlContent collection.

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

isInRobotsFile() : boolean

Response

boolean

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

isInSitemapEntry() : boolean

Response

boolean

Value of change frequency of staticSeoUrl in sitemap

setChangeFrequency(\StringType $changeFrequency) : \StaticSeoUrlInterface

Arguments

$changeFrequency

\StringType

Response

\StaticSeoUrlInterface

Same instance for chained method calls.

Set the ID for the staticSeoUrl.

setId(\IdType $id) : \StaticSeoUrlInterface

Arguments

$id

\IdType

StaticSeoUrl ID.

Response

\StaticSeoUrlInterface

Same instance for chained method calls.

Consider the staticSeoUrl in the robots file or not.

setIsInRobotsFile(\BoolType $status) : \StaticSeoUrlInterface

Arguments

$status

\BoolType

True when it should be displayed, false otherwise.

Response

\StaticSeoUrlInterface

Same instance for chained method calls.

Consider the staticSeoUrl in the sitemap or not.

setIsInSitemapEntry(\BoolType $status) : \StaticSeoUrlInterface

Arguments

$status

\BoolType

True when it should be displayed, false otherwise.

Response

\StaticSeoUrlInterface

Same instance for chained method calls.

Set the name for the staticSeoUrl.

setName(\StringType $name) : \StaticSeoUrlInterface

Arguments

$name

\StringType

Name for the staticSeoUrl.

Response

\StaticSeoUrlInterface

Same instance for chained method calls.

setOpenGraphImage

setOpenGraphImage(\FilenameStringType $openGraphImage) : \StaticSeoUrl

Arguments

$openGraphImage

\FilenameStringType

Response

\StaticSeoUrl

Value of Priority of staticSeoUrl in sitemap

setPriority(\StringType $priority) : \StaticSeoUrlInterface

Arguments

$priority

\StringType

Response

\StaticSeoUrlInterface

Same instance for chained method calls.

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

setStaticSeoUrlContentCollection(\StaticSeoUrlContentCollection $staticSeoUrlContentCollection) : \StaticSeoUrlInterface

Arguments

$staticSeoUrlContentCollection

\StaticSeoUrlContentCollection

Response

\StaticSeoUrlInterface

Same instance for chained method calls.

Properties

StaticSeoUrl ID

id : integer
var

Type(s)

integer

StaticSeoUrl Name

name : string
var

Type(s)

string

Is it shown in sitemap?

sitemapEntry : boolean
var

Type(s)

boolean

Change frequency for sitemap

changeFrequency : double
var

Type(s)

double

Priority for sitemap

priority : double
var

Type(s)

double

Is it shown in robots file?

robotsEntry : boolean
var

Type(s)

boolean

Image for OpenGraph page property

openGraphImage : string
var

Type(s)

string

Collection of staticSeoUrlContents

staticSeoUrlContentCollection : \StaticSeoUrlContentCollection