|
DOMElement::setAttributeAdds new attribute Description
public DOMAttr DOMElement::setAttribute
( string
$name
, string $value
)
Sets an attribute with name Parameters
Return Values
The new DOMAttr or Errors/Exceptions
Examples
Example #1 Setting an attribute
<?php See Also
|