Browse Source

Merge pull request #184 from andersonamuller/patch-1

Typo in isNewRecord property of ActiveRecord
tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
11bebaa8bf
  1. 2
      framework/db/ActiveRecord.php

2
framework/db/ActiveRecord.php

@ -28,7 +28,7 @@ use yii\helpers\StringHelper;
* @property TableSchema $tableSchema the schema information of the DB table associated with this AR class.
* @property array $oldAttributes the old attribute values (name-value pairs).
* @property array $dirtyAttributes the changed attribute values (name-value pairs).
* @property boolean $isPrimaryKey whether the record is new and should be inserted when calling [[save()]].
* @property boolean $isNewRecord whether the record is new and should be inserted when calling [[save()]].
* @property mixed $primaryKey the primary key value.
* @property mixed $oldPrimaryKey the old primary key value.
*

Loading…
Cancel
Save