From Joomla! Documentation

Revision as of 21:41, 27 April 2011 by Doxiki2 (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::attributes


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 422 of libraries/joomla/utilities/simplexml.php

See also

SeeAlso:JSimpleXMLElement::attributes [Edit See Also]

User contributed notes

<CodeExamplesForm />