1
0
mirror of synced 2025-01-18 06:21:40 +03:00
This commit is contained in:
zYne 2007-09-06 21:07:24 +00:00
parent 991d56f82c
commit 6987d11e2a

View File

@ -1093,13 +1093,19 @@ class Doctrine_Export extends Doctrine_Connection_Module
$sql = array();
foreach ($table->getTemplates() as $name => $template) {
$table = $template->getPlugin()->getOption('pluginTable');
$plugin = $template->getPlugin();
if ($plugin === null) {
continue;
}
$table = $plugin->getOption('pluginTable');
$data = $table->getExportableFormat();
$query = $this->conn->export->createTableSql($data['tableName'], $data['columns'], $data['options']);
$sql = array_merge($sql, (array) $query);
$sql = array_merge($sql, (array) $query);
}
return $sql;