PHP 클래스 Thepixeldeveloper\Sitemap\Sitemap

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

보호된 프로퍼티들

프로퍼티 타입 설명
$lastMod string Last modified time.
$loc string Location (URL).

공개 메소드들

메소드 설명
__construct ( string $loc ) Url constructor
generateXML ( XMLWriter $XMLWriter )
getLastMod ( ) : string | null Get the last modification time.
getLoc ( ) : string Get location (URL).
setLastMod ( string $lastMod ) Set the last modification time.

메소드 상세

__construct() 공개 메소드

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

generateXML() 공개 메소드

public generateXML ( XMLWriter $XMLWriter )
$XMLWriter XMLWriter

getLastMod() 공개 메소드

Get the last modification time.
public getLastMod ( ) : string | null
리턴 string | null

getLoc() 공개 메소드

Get location (URL).
public getLoc ( ) : string
리턴 string

setLastMod() 공개 메소드

Set the last modification time.
public setLastMod ( string $lastMod )
$lastMod string

프로퍼티 상세

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

Last modified time.
protected string $lastMod
리턴 string

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

Location (URL).
protected string $loc
리턴 string