Commit 526f31bd authored by zYne's avatar zYne

--no commit message

--no commit message
parent 2c99d8e4
...@@ -95,6 +95,20 @@ class Doctrine_Search ...@@ -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) public function buildDefinition(Doctrine_Table $table)
{ {
$name = $table->getComponentName(); $name = $table->getComponentName();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment