Actions

API17

JSimpleXMLElement::addAttribute

From Joomla! Documentation

Revision as of 20:59, 10 May 2013 by JoomlaWikiBot (Talk | contribs)

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

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

SeeAlso:JSimpleXMLElement::addAttribute [Edit See Also]

User contributed notes

<CodeExamplesForm />