Liste de tous les membres
Documentation des constructeurs et destructeur
JDatabaseExporterMySQL::__construct |
( |
| ) |
|
Constructor.
Sets up the default options for the exporter.
- Depuis:
- 11.1
Documentation des fonctions membres
JDatabaseExporterMySQL::__toString |
( |
| ) |
|
Magic function to exports the data to a string.
- Renvoie:
- string
- Depuis:
- 11.1
- Exceptions:
-
Exception | if an error is encountered. |
JDatabaseExporterMySQL::asXml |
( |
| ) |
|
Set the output option for the exporter to XML format.
- Renvoie:
- JDatabaseExporterMySQL Method supports chaining.
- Depuis:
- 11.1
JDatabaseExporterMySQL::buildXml |
( |
| ) |
|
|
protected |
Builds the XML data for the tables to export.
- Renvoie:
- string An XML string
- Depuis:
- 11.1
- Exceptions:
-
Exception | if an error occurs. |
JDatabaseExporterMySQL::buildXmlStructure |
( |
| ) |
|
|
protected |
Builds the XML structure to export.
- Renvoie:
- array An array of XML lines (strings).
- Depuis:
- 11.1
- Exceptions:
-
Exception | if an error occurs. |
Références $field, $fields, et $key.
JDatabaseExporterMySQL::check |
( |
| ) |
|
Checks if all data and options are in order prior to exporting.
- Renvoie:
- JDatabaseExporterMySQL Method supports chaining.
- Depuis:
- 11.1
- Exceptions:
-
Exception | if an error is encountered. |
Réimplémentée dans JDatabaseExporterMySQLi.
JDatabaseExporterMySQL::from |
( |
|
$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:
- JDatabaseExporterMySQL Method supports chaining.
- Depuis:
- 11.1
- Exceptions:
-
Exception | if input is not a string or array. |
Références elseif.
JDatabaseExporterMySQL::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:
- 11.1
Sets the database connector to use for exporting structure and/or data from MySQL.
- Paramètres:
-
- Renvoie:
- JDatabaseExporterMySQL Method supports chaining.
- Depuis:
- 11.1
Références $db.
JDatabaseExporterMySQL::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:
- JDatabaseExporterMySQL Method supports chaining.
- Depuis:
- 11.1
Documentation des données membres
JDatabaseExporterMySQL::$asFormat = 'xml' |
|
protected |
JDatabaseExporterMySQL::$cache = array() |
|
protected |
JDatabaseExporterMySQL::$db = null |
|
protected |
JDatabaseExporterMySQL::$from = array() |
|
protected |
JDatabaseExporterMySQL::$options = null |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :