コード例 #1
0
 public function afterSave($insert, $changedAttributes)
 {
     parent::afterSave($insert, $changedAttributes);
     $this->historyTemp->document_id = $this->document_id;
     $this->historyTemp->save();
     return true;
 }