SvgSanitizer
Read onlyYes
Table of Contents
Methods
- sanitizeContent() : string
- sanitizeFile() : void
- sanitizeNode() : DOMNode
Methods
sanitizeContent()
    public
                    sanitizeContent(string $svg) : string
    Parameters
- $svg : string
Return values
stringsanitizeFile()
    public
                    sanitizeFile(string $sourcePath[, string|null $targetPath = null ]) : void
    Parameters
- $sourcePath : string
- $targetPath : string|null = null
sanitizeNode()
    public
                    sanitizeNode(DOMNode $node) : DOMNode
    Parameters
- $node : DOMNode