\cleanHtml

Strip attribute Class Remove attributes from XML elements

Summary

Methods
Properties
Constants
strip()
$str
$allow
$exceptions
$ignore
No constants found
No protected methods found
No protected properties found
N/A
findElements()
findAttributes()
removeAttributes()
isException()
createAttributes()
No private properties found
N/A

Properties

$str

$str : 

Type

$allow

$allow : 

Type

$exceptions

$exceptions : 

Type

$ignore

$ignore : 

Type

Methods

strip()

strip(  $str) 

Parameters

$str

findElements()

findElements() 

findAttributes()

findAttributes(  $nodes) 

Parameters

$nodes

removeAttributes()

removeAttributes(  $nodes) 

Parameters

$nodes

isException()

isException(  $element_name,   $attribute_name,   $exceptions) 

Parameters

$element_name
$attribute_name
$exceptions

createAttributes()

createAttributes(  $new_attributes,   $name,   $value) 

Parameters

$new_attributes
$name
$value