API17

API17:JXMLElement::getAttribute

From Joomla! Documentation

Joomla 11.1 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


User contributed notes

Code Examples