Actions

API17

Difference between revisions of "JSimpleXMLElement::addAttribute"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JSimpleXMLElement::addAttribute/11.1 to API17:JSimpleXMLElement::addAttribute without leaving a redirect: Robot: Moved page)

Revision as of 20:59, 10 May 2013

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 />