PHP 클래스 Thepixeldeveloper\Sitemap\Subelements\Image

상속: implements Thepixeldeveloper\Sitemap\OutputInterface, implements Thepixeldeveloper\Sitemap\AppendAttributeInterface
파일 보기 프로젝트 열기: thepixeldeveloper/sitemap

보호된 프로퍼티들

프로퍼티 타입 설명
$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