1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
zYne 2007-06-05 23:15:15 +00:00
parent 2a99edae06
commit b41714eec5

View File

@ -815,9 +815,12 @@ class Doctrine_Export extends Doctrine_Connection_Module
*/
public function exportTable(Doctrine_Table $table)
{
/**
TODO: maybe there should be portability option for the following check
if ( ! Doctrine::isValidClassname($table->getOption('declaringClass')->getName())) {
throw new Doctrine_Export_Exception('Class name not valid.');
}
*/
try {
$data = $table->getExportableFormat();