From c8c859baecee165e96c6cb334dba41e6450ce14f Mon Sep 17 00:00:00 2001 From: jwage Date: Wed, 23 Jan 2008 00:54:58 +0000 Subject: [PATCH] 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" --- lib/Doctrine/Record.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/Record.php b/lib/Doctrine/Record.php index cb94f6dd5..bc074a770 100644 --- a/lib/Doctrine/Record.php +++ b/lib/Doctrine/Record.php @@ -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)) {