From 0a5b7a596010073943999cb78081b2257496a5e1 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Mon, 27 May 2013 23:51:01 +0200 Subject: [PATCH] docs: Be explicitly clear about ActiveRecord::create() --- framework/yii/db/ActiveRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/db/ActiveRecord.php b/framework/yii/db/ActiveRecord.php index a58ac4d..58411f0 100644 --- a/framework/yii/db/ActiveRecord.php +++ b/framework/yii/db/ActiveRecord.php @@ -1152,7 +1152,7 @@ class ActiveRecord extends Model /** * Creates an active record object using a row of data. * This method is called by [[ActiveQuery]] to populate the query results - * into Active Records. + * into Active Records. It is not meant to be used to create new records. * @param array $row attribute values (name => value) * @return ActiveRecord the newly created active record. */