API17:JSimpleXMLElement::addAttribute
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JSimpleXMLElement::addAttribute
Description
Adds an attribute to the element.
Description:JSimpleXMLElement::addAttribute [Edit Descripton]
public function addAttribute ( $name $value )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | ||
| $value | array | $attrs |
- Returns
- Defined on line 474 of libraries/joomla/utilities/simplexml.php
See also
-
JSimpleXMLElement::addAttribute source code on BitBucket
-
Class JSimpleXMLElement
-
Subpackage Utilities
- Other versions of JSimpleXMLElement::addAttribute
SeeAlso:JSimpleXMLElement::addAttribute [Edit See Also]
User contributed notes
<CodeExamplesForm />
