PHP 클래스 Thepixeldeveloper\Sitemap\Output

파일 보기 프로젝트 열기: thepixeldeveloper/sitemap 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$indentString string What string is used for indentation.
$indented boolean Is the output indented.
$processingInstructions array Processing instructions.

공개 메소드들

메소드 설명
addProcessingInstruction ( string $target, string $content ) Adds a processing instruction.
getIndentString ( ) : string String used for indentation.
getOutput ( Thepixeldeveloper\Sitemap\OutputInterface $collection ) : string Renders the Sitemap as an XML string.
isIndented ( ) : boolean Output indented?
setIndentString ( string $indentString ) Set the string used for indentation.
setIndented ( boolean $indented ) Indent the output?

메소드 상세

addProcessingInstruction() 공개 메소드

Adds a processing instruction.
public addProcessingInstruction ( string $target, string $content )
$target string
$content string

getIndentString() 공개 메소드

String used for indentation.
public getIndentString ( ) : string
리턴 string

getOutput() 공개 메소드

Renders the Sitemap as an XML string.
public getOutput ( Thepixeldeveloper\Sitemap\OutputInterface $collection ) : string
$collection Thepixeldeveloper\Sitemap\OutputInterface
리턴 string

isIndented() 공개 메소드

Output indented?
public isIndented ( ) : boolean
리턴 boolean

setIndentString() 공개 메소드

Set the string used for indentation.
public setIndentString ( string $indentString )
$indentString string

setIndented() 공개 메소드

Indent the output?
public setIndented ( boolean $indented )
$indented boolean

프로퍼티 상세

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

What string is used for indentation.
protected string $indentString
리턴 string

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

Is the output indented.
protected bool $indented
리턴 boolean

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

Processing instructions.
protected array $processingInstructions
리턴 array