PHP Класс Thepixeldeveloper\Sitemap\Subelements\Image

Наследование: implements Thepixeldeveloper\Sitemap\OutputInterface, implements Thepixeldeveloper\Sitemap\AppendAttributeInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$caption string The caption of the image.
$geoLocation string The geographic location of the image.
$license string A URL to the license of the image.
$loc string Location (URL).
$title string The title of the image.

Открытые методы

Метод Описание
__construct ( string $loc ) Image constructor
appendAttributeToCollectionXML ( XMLWriter $XMLWriter )
generateXML ( XMLWriter $XMLWriter )
getCaption ( ) : string The caption of the image.
getGeoLocation ( ) : string The geographic location of the image.
getLicense ( ) : string A URL to the license of the image.
getLoc ( ) : string Location (URL).
getTitle ( ) : string The title of the image.
setCaption ( string $caption ) Set the caption of the image.
setGeoLocation ( string $geoLocation ) Set the geographic location of the image.
setLicense ( string $license ) Set a URL to the license of the image.
setTitle ( string $title ) Set the title of the image.

Защищенные методы

Метод Описание
optionalWriteElement ( XMLWriter $XMLWriter, string $name, string $value )

Описание методов

__construct() публичный Метод

Image constructor
public __construct ( string $loc )
$loc string

appendAttributeToCollectionXML() публичный Метод

public appendAttributeToCollectionXML ( XMLWriter $XMLWriter )
$XMLWriter XMLWriter

generateXML() публичный Метод

public generateXML ( XMLWriter $XMLWriter )
$XMLWriter XMLWriter

getCaption() публичный Метод

The caption of the image.
public getCaption ( ) : string
Результат string

getGeoLocation() публичный Метод

The geographic location of the image.
public getGeoLocation ( ) : string
Результат string

getLicense() публичный Метод

A URL to the license of the image.
public getLicense ( ) : string
Результат string

getLoc() публичный Метод

Location (URL).
public getLoc ( ) : string
Результат string

getTitle() публичный Метод

The title of the image.
public getTitle ( ) : string
Результат string

optionalWriteElement() защищенный Метод

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

setCaption() публичный Метод

Set the caption of the image.
public setCaption ( string $caption )
$caption string

setGeoLocation() публичный Метод

Set the geographic location of the image.
public setGeoLocation ( string $geoLocation )
$geoLocation string

setLicense() публичный Метод

Set a URL to the license of the image.
public setLicense ( string $license )
$license string

setTitle() публичный Метод

Set the title of the image.
public setTitle ( string $title )
$title string

Описание свойств

$caption защищенное свойство

The caption of the image.
protected string $caption
Результат string

$geoLocation защищенное свойство

The geographic location of the image.
protected string $geoLocation
Результат string

$license защищенное свойство

A URL to the license of the image.
protected string $license
Результат string

$loc защищенное свойство

Location (URL).
protected string $loc
Результат string

$title защищенное свойство

The title of the image.
protected string $title
Результат string