JTable::toXML: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| Line 4: | Line 4: | ||
Method to export the instance properties to an XML string. | Method to export the instance properties to an XML string. | ||
{{Description:JTable::toXML}} | {{subst:Description:JTable::toXML}} | ||
<source lang="php"> | <source lang="php"> | ||
public function toXML ($mapKeysToText=false) | public function toXML ($mapKeysToText=false) | ||
| Line 32: | 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]] | ||
{{SeeAlso:JTable::toXML}} | {{subst:SeeAlso:JTable::toXML}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 16:14, 24 March 2017
JTable::toXML
Description
Method to export the instance properties to an XML string.
{{subst:Description:JTable::toXML}}
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

See also
JTable::toXML source code on BitBucket
Class JTable
Subpackage Database- Other versions of JTable::toXML
{{subst:SeeAlso:JTable::toXML}}
User contributed notes
<CodeExamplesForm />