SvgSanitizer
SVGSantiizer
Whitelist-based PHP SVG sanitizer.
- Full name:
\Zotlabs\Lib\SvgSanitizer
See Also:
- https://github.com/alister-/SVG-Sanitizer} - @author Alister Norris @copyright Copyright (c) 2013 Alister Norris @license http://opensource.org/licenses/mit-license.php The MIT License @package svgsanitizer
Properties
xmlDoc
removedattrs
allowed_functions
- This property is static.
whitelist
- This property is static.
Methods
__construct
load
Parameters:
Parameter | Type | Description |
---|---|---|
$file |
mixed |
loadXML
Parameters:
Parameter | Type | Description |
---|---|---|
$str |
mixed |
sanitize
saveSVG
Automatically generated on 2025-03-19