Commit c8c859ba authored by jwage's avatar jwage

fixes #696 function was named synchronizeWithArray but i renamed it to...

fixes #696 function was named synchronizeWithArray but i renamed it to synchronizeFromArray because it makes more sense because all the other mades user the term "from"
parent 64ead091
......@@ -1310,7 +1310,7 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
}
/**
* synchronizeWithArray
* synchronizeFromArray
* synchronizes a Doctrine_Record and its relations with data from an array
*
* it expects an array representation of a Doctrine_Record similar to the return
......@@ -1320,7 +1320,7 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
*
* @param array $array representation of a Doctrine_Record
*/
public function synchronizeWithArray(array $array)
public function synchronizeFromArray(array $array)
{
foreach ($array as $key => $value) {
if ($this->getTable()->hasRelation($key)) {
......
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