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