Property | Type | Description | |
---|---|---|---|
$indentString | string | What string is used for indentation. | |
$indented | boolean | Is the output indented. | |
$processingInstructions | array | Processing instructions. |
Method | Description | |
---|---|---|
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? |
public addProcessingInstruction ( string $target, string $content ) | ||
$target | string | |
$content | string |
public getIndentString ( ) : string | ||
return | string |
public setIndentString ( string $indentString ) | ||
$indentString | string |
public setIndented ( boolean $indented ) | ||
$indented | boolean |
protected string $indentString | ||
return | string |
protected array $processingInstructions | ||
return | array |