API17

Difference between revisions of "JXMLElement"

From Joomla! Documentation

(Layout updates)
m (moving preparation)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JXMLElement==
 +
===Description===
 +
{{Description:JXMLElement}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JXMLElement|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JXMLElement|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JXMLElement}}
 
===Defined in===
 
libraries/joomla/utilities/xmlelement.php
 
* see source code in [[jplatform:utilities/xmlelement.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Utilities/11.1|Utilities]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JXMLElement::asFormattedXML/11.1|asFormattedXML]]
+
|public
 +
|[[API17:JXMLElement::asFormattedXML|asFormattedXML]]
 
|Return a well-formed XML string based on SimpleXML element.  
 
|Return a well-formed XML string based on SimpleXML element.  
 
|-
 
|-
|[[JXMLElement::data/11.1|data]]
+
|public
 +
|[[API17:JXMLElement::data|data]]
 
|Legacy method to get the element data.  
 
|Legacy method to get the element data.  
 
|-
 
|-
|[[JXMLElement::getAttribute/11.1|getAttribute]]
+
|public
 +
|[[API17:JXMLElement::getAttribute|getAttribute]]
 
|Legacy method gets an elements attribute by name.  
 
|Legacy method gets an elements attribute by name.  
 
|-
 
|-
|[[JXMLElement::name/11.1|name]]
+
|public
 +
|[[API17:JXMLElement::name|name]]
 
|Get the name of the element.  
 
|Get the name of the element.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/utilities/xmlelement.php
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.utilities.xmlelement' );</source>
 
<source lang="php">jimport( 'joomla.utilities.xmlelement' );</source>
 
===See also===
 
===See also===
* JXMLElement source code in [[jplatform:utilities/xmlelement.php|BitBucket]]
+
* {{JVer|11.1}} '''JXMLElement source code''' on [[jplatform:utilities/xmlelement.php|BitBucket]]
* [[JXMLElement|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Utilities|Utilities]]
 +
* [[API17:JXMLElement|Other versions of JXMLElement]]
 
{{SeeAlso:JXMLElement}}
 
{{SeeAlso:JXMLElement}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JXMLElement|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JXMLElement|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 47: Line 49:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JXMLElement]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:51, 11 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JXMLElement[edit]

Description[edit]

Template:Description:JXMLElement [Edit Descripton]

Methods[edit]

Visibility Method name Description
public asFormattedXML Return a well-formed XML string based on SimpleXML element.
public data Legacy method to get the element data.
public getAttribute Legacy method gets an elements attribute by name.
public name Get the name of the element.
  • Defined in libraries/joomla/utilities/xmlelement.php

Importing[edit]

jimport( 'joomla.utilities.xmlelement' );

See also[edit]

Template:SeeAlso:JXMLElement [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />