API17:JXMLElement::getAttribute
From Joomla! Documentation
JXMLElement::getAttribute
Description
Legacy method gets an elements attribute by name.
public function getAttribute ($name)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string |
- Returns string
- Defined on line 58 of libraries/joomla/utilities/xmlelement.php
See also
JXMLElement::getAttribute source code on BitBucket
Class JXMLElement
Subpackage Utilities- Other versions of JXMLElement::getAttribute
User contributed notes
Code Examples