export_to_xml (line 45)
Export ocPortal database tables to an equivalent XML format, automatically.
string
export_to_xml
([?array $tables = NULL], [boolean $comcode_xml = true])
-
?array
$tables: List of tables to export (NULL: all tables except those skippable)
-
boolean
$comcode_xml: Whether to export Comcode as Comcode XML
find_all_xml_tables (line 26)
Find a list of all the tables that can be imported/exported as XML.
array
find_all_xml_tables
()
import_from_xml (line 209)
Import to ocPortal database table from the equivalent XML format.
array
import_from_xml
(string $xml_data, [boolean $delete_missing_rows = false])
-
string
$xml_data: Data in XML format
-
boolean
$delete_missing_rows: Synchronise deletes as well as inserts/updates
make_map_nice (line 185)
Take a PHP map array, and make it look nice.
string
make_map_nice
(array $map)
_export_table_to_xml (line 89)
Export an ocPortal database table to an equivalent XML format.
string
_export_table_to_xml
(ID_TEXT $table, boolean $comcode_xml)
-
ID_TEXT
$table: Table to export
-
boolean
$comcode_xml: Whether to export Comcode as Comcode XML
_tab (line 77)
Add one layer of tabbing to some XML.
string
_tab
(string $in)