JSimpleXMLElement::attributes/1.5

From Joomla! Documentation
Jump to: navigation, search

Joomla 1.5 JSimpleXMLElement::attributes

Description

Get the an attribute of the element.

Description:JSimpleXMLElement::attributes [Edit Descripton]

public function attributes ($attribute=null)
Parameter Type Default Description
$attribute string null The name of the attribute
  • Returns mixed If an attribute is given will return the attribute if it exist. If no attribute is given will return the complete attributes array
  • Defined on line 435 of libraries/joomla/utilities/simplexml.php

See also

SeeAlso:JSimpleXMLElement::attributes [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox