Replacement filing cabinet.png
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.

Joomla 11.1 JSimpleXMLElement::addAttribute


Adds an attribute to the element.

Description:JSimpleXMLElement::addAttribute [Edit Descripton]

public function addAttribute (
Parameter Type Default Description
$name string
$value array $attrs
  • Returns
  • Defined on line 474 of libraries/joomla/utilities/simplexml.php

See also

SeeAlso:JSimpleXMLElement::addAttribute [Edit See Also]

User contributed notes

<CodeExamplesForm />