API17

JTable::toXML: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Method to export the  instance properties to an XML string.  
Method to export the  instance properties to an XML string.  


{{subst:Description:JTable::toXML}}
 


<source lang="php">
<source lang="php">
Line 30: Line 30:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[API17:JTable::toXML|Other versions of JTable::toXML]]
* [[API17:JTable::toXML|Other versions of JTable::toXML]]
{{subst:SeeAlso:JTable::toXML}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JTable::toXML
category=JTable::toXML
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 03:47, 25 March 2017

Joomla 11.1 JTable::toXML

Description

Method to export the instance properties to an XML string.


public function toXML ($mapKeysToText=false)
Parameter Type Default Description
$mapKeysToText boolean false True to map foreign keys to text values.
  • Returns string XML string representation of the instance.
  • Defined on line 1309 of libraries/joomla/database/table.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples