function JSimpleXMLElement::addAttribute in Ubercart 5
Adds an attribute to the element
Parameters
string $name:
array $attrs:
File
- uc_store/
includes/ simplexml.php, line 517
Class
- JSimpleXMLElement
- SimpleXML Element
Code
function addAttribute($name, $value) {
//add the attribute to the element, override if it already exists
$this->_attributes[$name] = $value;
}