Actions

API17

Difference between revisions of "JXMLElement"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (User contributed notes: bad link repair)
(2 intermediate revisions by one user 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
 
===Subpackage===
 
[[Subpackage Utilities/11.1|Utilities]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JXMLElement::asFormattedXML/11.1|asFormattedXML]]
 
|[[JXMLElement::asFormattedXML/11.1|asFormattedXML]]
 
|Return a well-formed XML string based on SimpleXML element.  
 
|Return a well-formed XML string based on SimpleXML element.  
 
|-
 
|-
 +
|public
 
|[[JXMLElement::data/11.1|data]]
 
|[[JXMLElement::data/11.1|data]]
 
|Legacy method to get the element data.  
 
|Legacy method to get the element data.  
 
|-
 
|-
 +
|public
 
|[[JXMLElement::getAttribute/11.1|getAttribute]]
 
|[[JXMLElement::getAttribute/11.1|getAttribute]]
 
|Legacy method gets an elements attribute by name.  
 
|Legacy method gets an elements attribute by name.  
 
|-
 
|-
 +
|public
 
|[[JXMLElement::name/11.1|name]]
 
|[[JXMLElement::name/11.1|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|Other versions of this class]]
+
* {{JVer|11.1}} '''JXMLElement source code''' on [[jplatform:utilities/xmlelement.php|BitBucket]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage Utilities/11.1|Utilities]]
 +
* [[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 45: 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 JClasses]][[Category:Platform 11.1]][[Category:JXMLElement]]</noinclude>

Revision as of 14:07, 29 August 2012

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 JXMLElement

Description

Description:JXMLElement [Edit Descripton]

Methods

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

jimport( 'joomla.utilities.xmlelement' );

See also

SeeAlso:JXMLElement [Edit See Also]

User contributed notes

<CodeExamplesForm />