[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/libraries/joomla/database/database/ -> mysqlexporter.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 299 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JDatabaseExporterMySQL:: (10 methods):
  __construct()
  __toString()
  asXml()
  buildXml()
  buildXmlStructure()
  check()
  getGenericTableName()
  from()
  setDbo()
  withStructure()


Class: JDatabaseExporterMySQL  - X-Ref

MySQL export driver.

__construct()   X-Ref
Constructor.

Sets up the default options for the exporter.


__toString()   X-Ref
Magic function to exports the data to a string.

return: string

asXml()   X-Ref
Set the output option for the exporter to XML format.

return: JDatabaseExporterMySQL  Method supports chaining.

buildXml()   X-Ref
Builds the XML data for the tables to export.

return: string  An XML string

buildXmlStructure()   X-Ref
Builds the XML structure to export.

return: array  An array of XML lines (strings).

check()   X-Ref
Checks if all data and options are in order prior to exporting.

return: JDatabaseExporterMySQL  Method supports chaining.

getGenericTableName($table)   X-Ref
Get the generic name of the table, converting the database prefix to the wildcard string.

param: string  $table  The name of the table.
return: string  The name of the table with the database prefix replaced with #__.

from($from)   X-Ref
Specifies a list of table names to export.

param: mixed  $from  The name of a single table, or an array of the table names to export.
return: JDatabaseExporterMySQL  Method supports chaining.

setDbo(JDatabaseMySQL $db)   X-Ref
Sets the database connector to use for exporting structure and/or data from MySQL.

param: JDatabaseMySQL  $db  The database connector.
return: JDatabaseExporterMySQL  Method supports chaining.

withStructure($setting = true)   X-Ref
Sets an internal option to export the structure of the input table(s).

param: boolean  $setting  True to export the structure, false to not.
return: JDatabaseExporterMySQL  Method supports chaining.



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1