PHP Class Thepixeldeveloper\Sitemap\Subelements\News

Inheritance: implements Thepixeldeveloper\Sitemap\OutputInterface, implements Thepixeldeveloper\Sitemap\AppendAttributeInterface
Afficher le fichier Open project: thepixeldeveloper/sitemap

Protected Properties

Свойство Type Description
$access string Access.
$genres string List of genres, comma-separated string values.
$keywords string Key words, comma-separated string values.
$loc string Location (URL).
$publicationDate DateTime Date of publication.
$publicationLanguage string Publication language.
$publicationName string Publication name.
$title string Title.

Méthodes publiques

Méthode Description
appendAttributeToCollectionXML ( XMLWriter $XMLWriter )
generateXML ( XMLWriter $XMLWriter )
getAccess ( ) : string Access.
getGenres ( ) : string List of genres, comma-separated string values.
getKeywords ( ) : string Key words, comma-separated string values.
getPublicationDate ( ) : DateTime Date of publication.
getPublicationLanguage ( ) : string Publication language.
getPublicationName ( ) : string Publication name.
getTitle ( ) : string Title.
setAccess ( string $access ) Set access.
setGenres ( string $genres ) Set list of genres, comma-separated string values.
setKeywords ( string $keywords ) Set key words, comma-separated string values.
setPublicationDate ( DateTime $publicationDate ) Set date of publication.
setPublicationLanguage ( string $publicationLanguage ) Set the publication language.
setPublicationName ( string $publicationName ) Set the publication name.
setTitle ( string $title ) Set title.

Méthodes protégées

Méthode Description
optionalWriteElement ( XMLWriter $XMLWriter, string $name, string $value )

Method Details

appendAttributeToCollectionXML() public méthode

public appendAttributeToCollectionXML ( XMLWriter $XMLWriter )
$XMLWriter XMLWriter

generateXML() public méthode

public generateXML ( XMLWriter $XMLWriter )
$XMLWriter XMLWriter

getAccess() public méthode

Access.
public getAccess ( ) : string
Résultat string

getGenres() public méthode

List of genres, comma-separated string values.
public getGenres ( ) : string
Résultat string

getKeywords() public méthode

Key words, comma-separated string values.
public getKeywords ( ) : string
Résultat string

getPublicationDate() public méthode

Date of publication.
public getPublicationDate ( ) : DateTime
Résultat DateTime

getPublicationLanguage() public méthode

Publication language.
public getPublicationLanguage ( ) : string
Résultat string

getPublicationName() public méthode

Publication name.
public getPublicationName ( ) : string
Résultat string

getTitle() public méthode

Title.
public getTitle ( ) : string
Résultat string

optionalWriteElement() protected méthode

protected optionalWriteElement ( XMLWriter $XMLWriter, string $name, string $value )
$XMLWriter XMLWriter
$name string
$value string

setAccess() public méthode

Set access.
public setAccess ( string $access )
$access string

setGenres() public méthode

Set list of genres, comma-separated string values.
public setGenres ( string $genres )
$genres string

setKeywords() public méthode

Set key words, comma-separated string values.
public setKeywords ( string $keywords )
$keywords string

setPublicationDate() public méthode

Set date of publication.
public setPublicationDate ( DateTime $publicationDate )
$publicationDate DateTime

setPublicationLanguage() public méthode

Set the publication language.
public setPublicationLanguage ( string $publicationLanguage )
$publicationLanguage string

setPublicationName() public méthode

Set the publication name.
public setPublicationName ( string $publicationName )
$publicationName string

setTitle() public méthode

Set title.
public setTitle ( string $title )
$title string

Property Details

$access protected_oe property

Access.
protected string $access
Résultat string

$genres protected_oe property

List of genres, comma-separated string values.
protected string $genres
Résultat string

$keywords protected_oe property

Key words, comma-separated string values.
protected string $keywords
Résultat string

$loc protected_oe property

Location (URL).
protected string $loc
Résultat string

$publicationDate protected_oe property

Date of publication.
protected DateTime $publicationDate
Résultat DateTime

$publicationLanguage protected_oe property

Publication language.
protected string $publicationLanguage
Résultat string

$publicationName protected_oe property

Publication name.
protected string $publicationName
Résultat string

$title protected_oe property

Title.
protected string $title
Résultat string