| [ Index ] |
PHP Cross Reference of Joomla 2.5.4 DE |
[Source view] [Print] [Project Stats]
(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: | 651 lines (16 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
JDatabaseImporterMySQL:: (18 methods):
__construct()
asXml()
check()
from()
getAddColumnSQL()
getAddKeySQL()
getAlterTableSQL()
getChangeColumnSQL()
getColumnSQL()
getDropColumnSQL()
getDropKeySQL()
getDropPrimaryKeySQL()
getKeyLookup()
getKeySQL()
getRealTableName()
mergeStructure()
setDbo()
withStructure()
Class: JDatabaseImporterMySQL - X-Ref
MySQL import driver.| __construct() X-Ref |
| Constructor. Sets up the default options for the exporter. |
| asXml() X-Ref |
| Set the output option for the exporter to XML format. return: JDatabaseImporterMySQL Method supports chaining. |
| check() X-Ref |
| Checks if all data and options are in order prior to exporting. return: JDatabaseImporterMySQL Method supports chaining. |
| from($from) X-Ref |
| Specifies the data source to import. param: mixed $from The data source to import. return: JDatabaseImporterMySQL Method supports chaining. |
| getAddColumnSQL($table, SimpleXMLElement $field) X-Ref |
| Get the SQL syntax to add a column. param: string $table The table name. param: SimpleXMLElement $field The XML field definition. return: string |
| getAddKeySQL($table, $keys) X-Ref |
| Get the SQL syntax to add a key. param: string $table The table name. param: array $keys An array of the fields pertaining to this key. return: string |
| getAlterTableSQL(SimpleXMLElement $structure) X-Ref |
| Get alters for table if there is a difference. param: SimpleXMLElement $structure The XML structure pf the table. return: array |
| getChangeColumnSQL($table, SimpleXMLElement $field) X-Ref |
| Get the syntax to alter a column. param: string $table The name of the database table to alter. param: SimpleXMLElement $field The XML definition for the field. return: string |
| getColumnSQL(SimpleXMLElement $field) X-Ref |
| Get the SQL syntax for a single column that would be included in a table create or alter statement. param: SimpleXMLElement $field The XML field definition. return: string |
| getDropColumnSQL($table, $name) X-Ref |
| Get the SQL syntax to drop a column. param: string $table The table name. param: string $name The name of the field to drop. return: string |
| getDropKeySQL($table, $name) X-Ref |
| Get the SQL syntax to drop a key. param: string $table The table name. param: string $name The name of the key to drop. return: string |
| getDropPrimaryKeySQL($table) X-Ref |
| Get the SQL syntax to drop a key. param: string $table The table name. return: string |
| getKeyLookup($keys) X-Ref |
| Get the details list of keys for a table. param: array $keys An array of objects that comprise the keys for the table. return: array The lookup array. array({key name} => array(object, ...)) |
| getKeySQL($columns) X-Ref |
| Get the SQL syntax for a key. param: array $columns An array of SimpleXMLElement objects comprising the key. return: string |
| getRealTableName($table) X-Ref |
| Get the real name of the table, converting the prefix wildcard string if present. param: string $table The name of the table. return: string The real name of the table. |
| mergeStructure() X-Ref |
| Merges the incoming structure definition with the existing structure. return: void |
| 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: JDatabaseImporterMySQL Method supports chaining. |
| withStructure($setting = true) X-Ref |
| Sets an internal option to merge the structure based on the input data. param: boolean $setting True to export the structure, false to not. return: JDatabaseImporterMySQL Method supports chaining. |
| Generated: Tue Apr 3 11:40:28 2012 | Cross-referenced by PHPXref 0.7.1 |