Example #1
0
 /**
  * @inheritdoc
  */
 public function afterSave($insert)
 {
     ActiveRecordTest::$afterSaveInsert = $insert;
     ActiveRecordTest::$afterSaveNewRecord = $this->isNewRecord;
     parent::afterSave($insert);
 }
Example #2
0
 /**
  * @inheritdoc
  */
 public function afterSave($insert, $changedAttributes)
 {
     ActiveRecordTest::$afterSaveInsert = $insert;
     ActiveRecordTest::$afterSaveNewRecord = $this->isNewRecord;
     parent::afterSave($insert, $changedAttributes);
 }