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