Joomla Platform Database Exporter Class
- Depuis
- 3.0.0
◆ __construct()
Constructor.
Sets up the default options for the exporter.
- Depuis
- 3.2.0
◆ __toString()
Magic function to exports the data to a string.
- Renvoie
- string
- Depuis
- 3.2.0
- Exceptions
-
Exception | if an error is encountered. |
Références $buffer.
◆ asXml()
Set the output option for the exporter to XML format.
- Renvoie
- JDatabaseExporter Method supports chaining.
- Depuis
- 3.2.0
◆ buildXml()
Builds the XML data for the tables to export.
- Renvoie
- string An XML string
- Depuis
- 3.2.0
- Exceptions
-
Exception | if an error occurs. |
◆ buildXmlStructure()
Builds the XML structure to export.
- Renvoie
- array An array of XML lines (strings).
- Depuis
- 3.2.0
- Exceptions
-
Exception | if an error occurs. |
◆ check()
Checks if all data and options are in order prior to exporting.
- Renvoie
- JDatabaseDriver Method supports chaining.
- Depuis
- 3.2.0
- Exceptions
-
Exception | if an error is encountered. |
◆ from()
Specifies a list of table names to export.
- Paramètres
-
mixed | $from | The name of a single table, or an array of the table names to export. |
- Renvoie
- JDatabaseExporter Method supports chaining.
- Depuis
- 3.2.0
- Exceptions
-
Exception | if input is not a string or array. |
Références elseif.
◆ getGenericTableName()
getGenericTableName |
( |
|
$table | ) |
|
|
protected |
Get the generic name of the table, converting the database prefix to the wildcard string.
- Paramètres
-
string | $table | The name of the table. |
- Renvoie
- string The name of the table with the database prefix replaced with #__.
- Depuis
- 3.2.0
Références $prefix.
◆ setDbo()
Sets the database connector to use for exporting structure and/or data from MySQL.
- Paramètres
-
- Renvoie
- JDatabaseExporter Method supports chaining.
- Depuis
- 3.2.0
Références $db.
◆ withStructure()
withStructure |
( |
|
$setting = true | ) |
|
Sets an internal option to export the structure of the input table(s).
- Paramètres
-
boolean | $setting | True to export the structure, false to not. |
- Renvoie
- JDatabaseExporter Method supports chaining.
- Depuis
- 3.2.0
◆ $asFormat
◆ $cache
◆ $db
◆ $from
◆ $options
La documentation de cette classe a été générée à partir du fichier suivant :