PHP 클래스 Thepixeldeveloper\Sitemap\Subelements\Link

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

보호된 프로퍼티들

프로퍼티 타입 설명
$href string Location of the translated page.
$hrefLang string Language code for the page.

공개 메소드들

메소드 설명
__construct ( string $hrefLang, string $href ) Link constructor.
appendAttributeToCollectionXML ( XMLWriter $XMLWriter )
generateXML ( XMLWriter $XMLWriter )
getHref ( ) : string Location of the translated page.
getHrefLang ( ) : string Language code for the page.

메소드 상세

__construct() 공개 메소드

Link constructor.
public __construct ( string $hrefLang, string $href )
$hrefLang string
$href string

appendAttributeToCollectionXML() 공개 메소드

public appendAttributeToCollectionXML ( XMLWriter $XMLWriter )
$XMLWriter XMLWriter

generateXML() 공개 메소드

public generateXML ( XMLWriter $XMLWriter )
$XMLWriter XMLWriter

getHref() 공개 메소드

Location of the translated page.
public getHref ( ) : string
리턴 string

getHrefLang() 공개 메소드

Language code for the page.
public getHrefLang ( ) : string
리턴 string

프로퍼티 상세

$href 보호되어 있는 프로퍼티

Location of the translated page.
protected string $href
리턴 string

$hrefLang 보호되어 있는 프로퍼티

Language code for the page.
protected string $hrefLang
리턴 string