Example #1
0
 /**
  * After save.
  *
  */
 public function afterSave($insert, $changedAttributes)
 {
     parent::afterSave($insert, $changedAttributes);
     // add your code here
     BlogTag::updateFrequency($this->_oldTags, $this->tags);
 }