Browse Source

docs: Be explicitly clear about ActiveRecord::create()

tags/2.0.0-beta
Carsten Brandt 12 years ago
parent
commit
0a5b7a5960
  1. 2
      framework/yii/db/ActiveRecord.php

2
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.
*/

Loading…
Cancel
Save