1
0
mirror of synced 2025-01-29 19:41:45 +03:00
This commit is contained in:
zYne 2007-09-29 14:45:38 +00:00
parent 2c99d8e497
commit 526f31bd05

View File

@ -95,6 +95,20 @@ class Doctrine_Search
}
}
}
/**
* savePending
*
* @param Doctrine_Record $record
* @return integer
*/
public function savePending($tableName, $id, $conn = null)
{
if ( ! ($conn instanceof Doctrine_Connection)) {
$conn = Doctrine_Manager::connection();
}
$conn->insert($tableName, array('foreign_id' => $id));
}
public function buildDefinition(Doctrine_Table $table)
{
$name = $table->getComponentName();